Click or drag to resize

SubS Function

Extract a substring from a string using untyped arguments

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.01
Syntax
 FUNCTION SubS(
	 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