string Mid(string string, int start,
String containing a copy
of the specified range of characters.
string – string
expression from which characters are copied.
start – the
zero-based index of the first character in string that is to
be included in the extracted substring.
number of characters to extract from
Use this function to extract a substring of length
count characters from string, starting at position
The following example demonstrates the use of
string s = Mid("Hello, World", 0, 5)
Println("New string is ", s)
Output of the example script:
New string is