Click or drag to resize

Functions.SubStr Method

Extract a substring from a string using untyped arguments

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION SubStr(
	 cTarget AS USUAL,
	 nStart AS USUAL,
	 nCount AS USUAL
) AS STRING
View Source

Parameters

cTarget
Type: __Usual
The string to be extracted from.
nStart
Type: __Usual
The starting position from which the substring should be extracted.
nCount
Type: __Usual
The number of characters to extract. If omitted, the substring begins at nStart and continues to the end of the string. If nCount is greater than the number of characters from nStart to the end of cTarget, the extra is ignored.

Return Value

Type: String
See Also