String.Mid (gb)
Static Function Mid ( String As String, Start As Integer [ , Length As Integer ] ) As String
Returns a substring containing the
Length characters from the position
Start.
If
Length is not specified, everything from the position
Start is returned.
If
Length is negative, everything from the position
Start except the (-
Length ) last characters are returned.
This function deals with UTF-8 strings, and so all positions and lengths are given in characters and not in bytes. To manipulate ASCII strings, use
Mid$
See also