[slang-users] isalpha in SLang

John E. Davis davis at space.mit.edu
Thu Jun 14 01:27:22 EDT 2007


=?UTF-8?Q?J=C3=B6rg?= Sommer <joerg at alea.gnuu.de> 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


More information about the slang-users-l mailing list