diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-11-23 10:06:22 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-11-24 09:23:35 +0100 |
commit | ecb6fd62c275af03a07d892313ab3914d81cd40e (patch) | |
tree | 52994be2201583b0b7f297347dd4fe98decc0c44 /readme.rst | |
parent | df4778f2f061c71cf1d9e51fe8ec657d04bbdfeb (diff) |
Added text functions
Diffstat (limited to 'readme.rst')
-rwxr-xr-x | readme.rst | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -4,6 +4,7 @@ .. default-role:: code .. contents:: + :depth: 3 =========== Compilation @@ -192,7 +193,7 @@ Function Value *x* `^` *y* Compute *x* ^ *y* `gcd(` *x*; *y* `)` Greatest common divisor `lcm(` *x*; *y* `)` Lowest common multiple -`rnd()` A random number between 0 and 1 +`rand()` A random number between 0 and 1 `sqrt(Numeric)` Square root `exp(Numeric)` Exponential `ln(Numeric)` Natural logarithm @@ -244,3 +245,19 @@ Function Value `atan2(` *x*; *y* `)` Arc tangent of *x* / *y* ===================== ===================================== +Text +---- + +================================= ====================================================== +Function Value +================================= ====================================================== +`trim(Text)` Remove all space on left and right +`upper(Text)` Convert the string to uppercase +`lower(Text)` Convert the string to lowercase +`unicode(Text)` Returns the numeric code for the first Unicode character +`unichar(Numeric)` Converts a code number into a Unicode character or letter +`substitute(Text, Text, Text)` Substitutes new text for old text in a string +`len(Text)` Return the length of a string +`left(Text, Numeric)` Return the first n characters +`right(Text, Numeric)` Return the last n characters +================================= ====================================================== |