SubString
The SubString function extracts a string of specified length from a longer string in which it occurs.
Syntax
Copy Code | |
---|---|
string SubString( string searchString, int startingIndex, int length ); |
Parameters
Return Values
Returns the specified string if present in searchString. If the specified string is not present, returns null.
The length argument is optional. If no value is passed, the function returns the string from startingIndex to the end of searchString.