Returns the number of characters in the string
Class: String
Parameters: $string – String from which the number of characters are returned
Syntax: returnValue=len($string)
Returns: The number of characters in $string
Remarks: None
Example:
//Example for the string len method
$s=”SEIKI BATCH SCRIPT” //Set string
result=len($s) //Result (= 18)
message(“Length of string “ + $s + “ is “ + result) //Display results message