Module jstring

Source
Expand description

string

Functionsยง

capitalize
Returns a capitalized version of the string.
center
Returns a centered string of length width.
chomp
Removes the trailing newline of the given string.
is_palindrome
Returns true if the given string is palindrome.
str_rev
Returns the reversed version of the input string.