omron — StrTrim

Appendix: Built-in Scripting Language strSource The source string. strCharSequence The reference string. Returned value Returns the string of characters following the first occurrence of a character within the source string. Examples StrStrPos Finds the first occurrence of a character within a string. Syntax StrStrPos( strSource , strCharSequence ) strSource The source string. strCharSequence The reference string. Returned value Returns an integer corresponding to the first occurrence of a character within the source string. Examples Note: The first character in the string assigned the value 0. StrTrim Removes unwanted spaces from a string.

Syntax StrTrim( strReference , optNumFlag ) strReference A string, or a tag of String type that contains the source string. optNumFlag An optional integer or tag of Integer type:

Page 474 InduSoft Web Studio Tag Name Expression Tag StrStr( "Studio version 7.0", "i" ) // Returned value = "io version 7.0" Tag StrStr( "Technical Reference", "n" ) // Returned value ="nical Reference" Function Group Execution Windows Embedded Thin Client StrStrPos String Synchronous Supported Supported Supported Tag Name Expression Tag StrStrPos( "Studio version 7.0", "i" ) // Returned value = 4 Tag StrStrPos( "Technical Reference", "a" ) // Returned value = 7 Function Group Execution Windows Embedded Thin Client StrTrim String Synchronous Supported Supported Supported