Phantom Documentation

[Help Home] [Phantom Home]
getlength

int getlength(string)

Return Type: int
Parameters: string input

Description:
This function returns the number of characters in the input string.

Example Code
1 >>string s = "Name\tBob";
2 >>disp(s);
Name Bob
3 >>disp(getlength(s));
8


In the example above, the ‘\t’ is the special tab character, which is only one character.


Copyright 2000-2011 Phantom Automated Solutions