isAlpha
isAlpha(): Boolean;
The isAlpha method of the Character primitive type returns true if the receiver represents a letter for the current language setting; otherwise, it returns false.
The code fragment in the following example shows the use of the isAlpha method.
//strip leading non-alpha characters count := 1; alphaFound := false; while count <= str.length do if str[count].Character.isAlpha then if newStr.length > 0 then newStr := newStr & str[count].toUpper; else newStr := str[count].toUpper; endif; count := count + 1; alphaFound := true; break; endif; count := count + 1; endwhile; if alphaFound = false and newStr.length = 0 then return ""; endif;