right

Return a substring containing a specified number of characters from the right side of a string.

Syntax

string right(string str,integer len)

Parameters

Return Value

Returns a string containing a specified number of characters from the right side of string str. If len is zero, a zero-length string ("") is returned. If len is greater than or equal to the number of characters in str, the entire source string is returned.

Example

Test Lines

Result


Copyright © 2021 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333