254
edits
Line 154: | Line 154: | ||
===Function tags=== | ===Function tags=== | ||
{| | {| | ||
|contains(find, text)||boolean||Returns true if *find* is found in *text*. Case sensitive. | |contains(find, text)||boolean||Returns true if *find* is found in *text*. Case sensitive.<br>Example: contains('bcd', 'abcdef') = true | ||
|- | |- | ||
| | |if(test, trueval[, falseval])||any||If statement, returns *trueval* if *test* is true, otherwise returns *falseval*.<br> Example: if(23=23, 'equal', 'not equal') = 'equal' | ||
|- | |- | ||
| | |in(find, text...)||boolean||Checks if *find* is present in a number of *text* parameters.<br>Example: in('bb', 'aa', 'bb', 'cc', 'dd') = true | ||
|- | |- | ||
| | |join(glue, text...)||text||Joins together two or more *text*s, empty parameters are ignored with no glue added.<br>Example: join(' ', 'a', 'b', 'c') = 'a b c' | ||
|- | |- | ||
|?lc(text)||text||Converts text to lower case.<br>Example ?lc(crc) | |?lc(text)||text||Converts text to lower case.<br>Example ?lc(crc) |
edits