Conversion |
Input Type |
Output Type |
Description |
++ |
String |
String |
Increase the input string by one numerically.
This input string is passed by reference. It must be either a variable as in:
var i conv="++";
or a value casted as a variable as in:
var j = "(var)i" conv="++"; |
+= |
String |
String |
Increase the input string by the number in the argument string numerically.
This input string is passed by reference. It must be either a variable as in:
var i conv="+=:3";
or a value casted as a variable as in:
var j = "(var)i" conv="+=:3"; |
-- |
String |
String |
Decrease the input string by one numerically.
This input string is passed by reference. It must be either a variable as in:
var i conv="--";
or a value casted as a variable as in:
var j = "(var)i" conv="--"; |
-= |
String |
String |
Decrease the input string by the number in the argument string numerically.
This input string is passed by reference. It must be either a variable as in:
var i conv="-=:3";
or a value casted as a variable as in:
var j = "(var)i" conv="-=:3"; |
? |
String |
String |
Take the argument string as a comma-delimited list of three arguments. The first argument is a logical expression representing a condition. If the condition evaluates to true, return the second argument. Otherwise, return the third one.
Yes, the input argument is ignored. So you can use the shorthand {|?condition,trueVal,falseVal}. |
ana |
String |
String |
Return "an" if the input string starts with a vowel letter (A, E, I, O, U or their lowercase letter) or "a" otherwise. |
basename |
String |
String |
Take the input string as a file name with path (directory specification with "/") and return the file name with the path stripped off. |
classname |
String |
String |
Take the input string as a class name, but if it happens to be in a variable form, extract only the class name. Return the class name as such. |
concat |
String |
String |
Append the argument string to the input string. |
count |
Array |
String |
Return the number of elements in the input array. |
countstr |
String |
String |
Return the number of times the argument string occurs in the input string. |
countstric |
String |
String |
Return the number of times the argument string occurs in the input string, ignoring case. |
countstring |
String |
String |
Same as "countstr" |
countstringic |
String |
String |
Same as "countstric" |
countstringre |
String |
String |
Same as "countstrre" |
countstrre |
String |
String |
Return the number of times the substring that matches the regular expression in the argument string occurs in the input string. |
crypt |
String |
String |
Encrypt the input string and return the result. The argument string specifies the type of encryption: StdDES (default), ExtDES, MD5 and Blowfish.
If the argument string is 13 characters or more, it will be taken as an encrypted string to verify against the input string, and true is return if it is a match or false otherwise. In this case, the type of encryption can be optionally specified as the second argument. |
dec |
String |
String |
Same as "-=" |
decrease |
String |
String |
Same as "-=" |
default |
String |
String |
If the input string is false, return the argument string. Otherwise, return the input string unchanged. |
dirname |
String |
String |
Take the input string as a file name with path (directory specification with "/") and return the path with the file name stripped off. |
empty |
String |
String |
Return true if the argument is '0' (literal zero or numeric zero), blank ('') or not defined; return false if otherwise. |
escape |
String |
String |
escape:quote or escape:quotes Add a backslash ('') in front of any single or double quotation marks found in the input string.
escape:single, escape:singlequote or escape:singlequotes Add a backslash ('') in front of any single quotation marks found in the input string.
escape:double, escape:doublequote or escape:doublequotes Add a backslash ('') in front of any double quotation marks found in the input string. |