- Subject: Re: [slang-users] isalpha in SLang
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Thu, 14 Jun 2007 01:27:22 -0400
=?UTF-8?Q?J=C3=B6rg?= Sommer <joerg@xxxxxxxxxxxx> wrote:
>why only isdigit() is available in SLang? How can I test for an
>alphabetical character?
I will add the isxxx character class functions to the next release.
Meanwhile, you can try this hack:
define isalpha (x)
{
return "" == strtrans (char(x), "\\a", "");
}
--John
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]