Mid()
Returns a substring of specified length. Syntax: string = Mid( Source as string, Position as byte[, Length as byte] )
- Position: Starts from left with 1
- Length (optional): Number of characters to return.
Example:
dim s as string s = Mid("Hello World",3,3) ' ergebnis: "llo"