NCopy

Copies a defined section of a larger string.

Function Group Execution Windows Embedded Thin Client Mobile Access
NCopy String Synchronous Supported Supported Supported Supported

Syntax

  NCopy( strSource, numStartChar, numQtdChar )  
strSource
The source string.
numStartChar
Integer tag containing a number corresponding to the first character being copied.
numQtdChar
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

Tag Name Expression
Tag NCopy( “Studio version 7.0″, 7, 7 ) // Returned value = “version”
Tag NCopy( “Technical Reference”, 0, 9 ) // Returned value = “Technical”
Note: The first character in the string will be assigned the value 0.

NCopy