chop
chop
Description
Returns a string, chopped at nmb characters, starting with the leftmost character. Cuts down the string (if length is greater than nmb characters) to a string of max nmb chars.
Parameters
Return Type
String
Examples
Example 1
wret = chop("Once upon a time", 6);
print(wret);
Print Once u
Example 2
wret = chop("Once upon a time", 30);
print (wret );
Print Once upon a time
Example 3
wret = chop(" Once upon a time", -1);
print (wret );
Print Once upon a time
See also
Peacock
, multiple selections available, Use left or right arrow keys to navigate selected items
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.