Home > comp > gb > string > mid 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
String.Mid (gb)
STATIC FUNCTION Mid ( String AS String, Start AS Integer [ , Length AS Integer ] ) AS String

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 is returned.

This function deals with UTF-8 strings, and so all positions and lengths are given in characters and not in bytes.