show / hide menu

SubString

This function is used to fetch a sub string from a given string.

Syntax:

SubString(startIndex,length,Value)

This function will need the user to indicate a start index, length and the value or the String from which the substring has to be extracted.

Examples:

Textbox1.Value= SubString(0,4, Textbox1.Value)
Textbox1.Value=”Very good”

The function will return “Very” since the Start index of the give String is 0 and the length is 4.