Mid()
Teil einer Zeichenkette ab einer bestimmten Positon mit bestimmter Länge zurückliefern.
Syntax: string = Mid( Source as string, Position as byte[, Length as byte] )
- Position: Beginnend mit 1 von links
- Length (optional): Anzahl Zeichen die zurückgegeben werden sollen.
Beispiel:
dim s as string s = Mid("Hallo Welt",3,3) ' Ergebnis: "llo"