VirtualString.SubString(Variable, Variable) Method

Top 

Description

Takes a portion of the VirtualString with a defined beginning (start) and length (numChars).

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

VirtualString.SubString(

Variable start,


Variable numChars)

 

 

Arguments

start


Description:

The index of the first character from which to begin the extraction (zero based).

Valid Range:

start ≥ 0

 

 

numChars


Description:

The number of characters to extract from the source string.

Valid Range:

numChars ≥ 0

 

 

 

Return Value

Type:

string

 

 

Return a substring of a string.

 

Syntax

myString1 = myString2.ToLower.SubString(myVariable1, myVariable2);

 

 

See also

VirtualString Object

VirtualString.SubString