SubString

Description

Returns a portion of the specified string starting at the specified index and containing the specified number of characters.

Syntax

SubString(String: String, Index: Integer, Count: Integer): String

SubString is the string value on which to perform the function.

Index is an integer representing the index position to start searching for the substring. Zero indicates the first character position in the string.

Count is a number representing the number of characters to search, beginning from the starting index.

Example

SubString(Colas,1,2)

The return value is Co.