Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object Character Classification in Siebel eScriptThe eScript language does not have a true character type. For the character classification routines, a char is actually a one-character string. Thus, actual programming usage is very much like C. For example, in the following fragment, both .isalnum() statements work properly. var t = Clib.isalnum('a'); This fragment displays the following: In the following fragment, both Clib.isalnum() statements cause errors because the parameters to them are strings with more than one character: var t = Clib.isalnum('ab'); The character classification methods return Booleans: true or false. The following character classification methods are supported in the Clib object: |
Siebel eScript Language Reference |