Mid |
Top Previous Next |
Mid returns a substring containing $length characters starting at position $startPos. The first character of $s has the index 1.
If $startPos is larger than the length of $s, Mid returns an empty string.
If $length specifies more characters than are available, only the characters starting from position $startPos to the end of $s are returned.
Parameters
Example:
|