omron — StrLen

Appendix: Built-in Scripting Language strSource The source string. strDelimiter Char used as delimiter between the elements. numElementNumber Number of the element which will be returned by the function. The first element has the number 1. The second element has the number 2 and so forth. Returned value Returns the element (string value) retrieved from strSource. Examples StrLeft Copies the first characters of a larger string. Syntax StrLeft( strSource , numQtdChar ) strSource The source string. numQtdChar The number of characters to be copied. Returned value Returns a string containing the left-most characters in the source string. Examples StrLen Determines the length of a string.

Syntax StrLen( strSource ) strSource The string. Returned value Returns an integer that is the number of characters in the string. InduSoft Web Studio Page 471 Tag Name Expression Tag StrGetElement( "a|b|c", "|", 2 ) // returned value = "b" Tag StrGetElement( "a,b,c", ",", 3 ) // returned value = "c" Function Group Execution Windows Embedded Thin Client StrLeft String Synchronous Supported Supported Supported Tag Name Expression Tag StrLeft( "Studio version 7.0", 8 ) // Returned value = Studio v Tag StrLeft ( "Technical Reference", 9 ) // Returned value = Technical Function Group Execution Windows Embedded Thin Client StrLen String Synchronous Supported Supported Supported