Siebel eScript Language Reference > C Language Library Reference > Clib Character Classification Methods >

Overview of Clib Character Classification Methods


Siebel eScript does not include character types. For example, a char character is actually a string that is one character in length. Actual usage is similar to the C programming language. For example, the following Clib Is Alphanumeric method works properly:

var t = Clib.isalnum('a');

var s = 'a';
var t = Clib.isalnum(s);

This code displays the following output:

true
true

The Clib Is Alphanumeric method in the following example causes errors because the each argument to each statement is a string that contains more than one character:

var t = Clib.isalnum('ab');

var s = 'ab';
var t = Clib.isalnum(s);

A character classification method returns one of the following values:

  • True
  • False
Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.