Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Returns a string, chopped at nmb characters. Cuts down the string (if length is greater than nmb characters) to a string of max nmb chars.


Returns nmb characters from str, starting with the leftmost character.

...

Code Block
wret = chop("Once upon a time", 6);
print(wret);

Print Once u

Example 2

Code Block
wret = chop("Once upon a time", 30);
print(wret);

Print Once upon a time

Example 3

Code Block
wret = chop("Once upon a time", -1);
print(wret);

Print Once upon a time

See also

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines

...