length


function length(str: string): integer;

Retuns the length of the given string. Strings in MIDletPascal are slightly different than strings in regular Pascal: the index of the first character in string is 0 in MIDletPascal.

See also: copy, pos