خانه > comp > gb > string > mid 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar id vi ko ja ru zh zh_TW eo
قبلی  بعدی  ویرایش  تغییر نام  واگرد  Search  سرپرستی  
مستندات  
اخطار! این صفحه ترجمه نشده است.  مشاهده نسخه انگلیسی 
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.