Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - isalpha() determine if a string begins with a letter http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 isalpha()           Determine if a string begins with a letter
------------------------------------------------------------------------------
 Declaration
   string.hdr

 Syntax
   func logical isalpha extern
   param const char cString

 Arguments
   cString is a character string.

 Return
   A logical indicating if the input string begins with a letter.

 Description
   The isalpha() function returns .t. if the specified character string
   cString begins with a letter.

 Example
   #define EXAMPLE_STRING
   #include example.hdr

   proc Test_isalpha
   ? isalpha( "1234 South Street" )        // prints .f.
   ? isalpha( " Lloyd Tabb" )              // prints .f.
   ? isalpha( "Lloyd Tabb" )               // prints .t.
   ? isalpha( chr(10)+chr(13)+"name")      // prints .f.
   ? isalpha( "X4495" )                    // prints .t.
   endproc

   proc main
   Test_isalpha()
   endproc

See Also: isdigit()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson