خانه > lang > right 
 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  سرپرستی  
مستندات  
اخطار! این صفحه ترجمه نشده است.  مشاهده نسخه انگلیسی 
Right$
Result = Right$ ( String AS String [ , Length AS Integer ] )
Result = Right ( String AS String [ , Length AS Integer ] )

Returns the Length last characters of a string.

If Length is not specified, the last character of the string is returned.

If Length is negative, all the string except the (- Length ) first characters is returned.

Right$ is optimized so that no string duplication occurs to generate the result.

مثال

PRINT Right$("Gambas", 4)

mbas

PRINT Right$("Gambas")

s

PRINT Right$("Gambas", -1)

ambas

همچنین مشاهده کنید

توابع رشته ای