boolean | Converts string to boolean (true, false) |
cap_first | Capitalizes first word of string |
capitalize | Capitalizes every word in string properly |
chop_linebreak | Removes line-break from end of string |
contains (substring) | Checks if string contains substring |
date, time, datetime | Converts string to date/time/datetime based on *_format |
ends_with (substring) | Checks if string ends with substring |
ensure_ends_with (substring) | Returns string with substring appended if not already there |
ensure_starts_with (substring) | Same as ensure_ends_with, but prepended |
groups[x] | Returns the returns the regex group from the matches method if it exists |
html | Returns the string with html characters parsed to ampersand codes |
index_of (substring) | Returns the index of the requested substring in string |
j_string | Escapes the string for Java String Literals |
js_string | Escapes the string for Javascript String Literals |
json_string | Escapes the string for JSON String Literals |
keep_after (substring, flags="") | Returns all text after substring, not including substring |
keep_before (substring, flags="") | Returns all text before substring, not including substring |
last_index_of (substring) | Returns the index of the last occurance of substring |
left_pad (x, seperator=" ") | Returns the string with [seperator] prepended up to a maximum length |
length | The number of characters in the string |
lower_case | Returns string in all lower case |
matches | Regex Pattern checker |
number | The string as a number |
replace (substring, replace) | Returns all occurances of substring with replace |
right_pad (x, seperator=" ") | Same as left_pad, but appended instead |
remove_beginning (substring) | Returns string with substring removed from the beginning |
remove_ending | Same as remove_beginning, except fromt he ending |
rtf | Rich Text Format |
split (substring) | Split a string at each substring |
starts_with | Same as ends_with, but for string beginning |
string | Takes a multi-value variable and returns just the string parts |
substring | Depricated, use string[x..y] |
trim | Removes leading and trailing whitespace |
uncap_first | The opposite of cap_first |
upper_case | Opposite of lower_case |
url | URL Character escaping |
url_path | Same as url but doesn't escape slashes |
word_list | Returns a sequence of all words in a string |
xhtml | Same as html, but for xhtml escaping |
xml | Same as hxtml, but difference code for ' |
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets