Package net.fortytwo.ripple.libs.string

Class Summary
Concat A primitive which consumes two strings and produces their concatenation.
Contains A primitive which tells whether a string contains another string as a substring.
EndsWith A primitive which consumes a string and suffix, producing a Boolean value of true if the given string ends with the given suffix, otherwise false.
IndexOf A primitive which consumes a string and a substring and produces the index of the first occurrence of the substring.
LastIndexOf A primitive which consumes a string and a substring and produces the index of the last occurrence of the substring.
Length A primitive which consumes a string and produces its length.
Matches A primitive which consumes a string and a regular expression, producing a Boolean value of true if the regular expression matches the string, otherwise false.
Md5 A primitive which consumes a string and produces its SHA-1 sum.
PercentDecoded A primitive which consumes an (RFC 3986) percent-encoded string and produces its decoded equivalent.
PercentEncoded A primitive which consumes a string and produces its (RFC 3986) percent-encoded equivalent.
ReplaceAll A primitive which consumes a string, a regular expression and a replacement substring, then produces the string obtained by replacing all occurrences of the regular expression in the original string with the replacement substring.
Sha1 A primitive which consumes a string and produces its SHA-1 sum.
Split A primitive which consumes a string and a regular expression, then produces the list obtained by "splitting" the string around the regular expression.
StartsWith A primitive which consumes a string and prefix, producing a Boolean value of true if the given string starts with the given prefix, otherwise false.
StringLibrary A collection of string manipulation primitives.
Substring A primitive which consumes a string and two integer indexes, then produces the substring between the first index (inclusive) and the second index (exclusive).
ToLowerCase A primitive which consumes a string, maps its characters to lower case, and produces the result.
ToUpperCase A primitive which consumes a string, maps its characters to upper case, and produces the result.
Trim A primitive which consumes a string, strips off all leading and trailing white space, and produces the result.
 



Copyright © 2007-2011 fortytwo.net. All Rights Reserved.