omron — Str

Appendix: Built-in Scripting Language The number of characters to be copied. Returned value Returns a string that is part of the source string (as defined by the function). Examples Note: The first character in the string will be assigned the value 0. Num Converts a string into a float. Syntax Num( strValue ) strValue The number of characters to be converted into float format. Returned value Returns the number (formerly in a string format) in float format. Examples Note: The float string cannot use characters other than the numbers (0..9) and a decimal point (.), or the function returns the value 0.0. Str Converts a number into a string.

Syntax Str( numValue ) numValue Integer or float tag containing a number to be converted to a string. Returned value Returns the string, in a float format. Page 466 InduSoft Web Studio Tag Name Expression Tag NCopy( "Studio version 7.0", 7, 7 ) // Returned value = "version" Tag NCopy( "Technical Reference", 0, 9 ) // Returned value = "Technical" Function Group Execution Windows Embedded Thin Client Num String Synchronous Supported Supported Supported Tag Name Expression Tag Num( "321654.987" ) // Returned value = 321654.987 Tag Num( "5.6589626246" ) // Returned value = 5.6589626246 Function Group Execution Windows Embedded Thin Client Str String Synchronous Supported Supported Supported