Mid()

Returns a substring of specified length. Syntax: string = Mid( Source as string, Position as byte[, Length as byte] )

Example:

  dim s as string
  s = Mid("Hello World",3,3)  ' ergebnis: "llo"