RightStr Function

Description:

This function returns a string containing the last 'length' characters of a source string.

Format:

result = RightStr(length, input_string);

Parameter:

length

An integer expression defining the number of characters to extract to form the substring.

input_string

A string expression from which the extraction will be done.

Example:

string newStr;

newstr = RIGHTSTR (4, "James Bond");
LOG "newStr = " + newStr;

Output:

newStr = Bond

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap