aboutsummaryrefslogtreecommitdiff
path: root/readme.rst
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2017-11-23 10:06:22 +0100
committerSébastien Dailly <sebastien@chimrod.com>2017-11-24 09:23:35 +0100
commitecb6fd62c275af03a07d892313ab3914d81cd40e (patch)
tree52994be2201583b0b7f297347dd4fe98decc0c44 /readme.rst
parentdf4778f2f061c71cf1d9e51fe8ec657d04bbdfeb (diff)
Added text functions
Diffstat (limited to 'readme.rst')
-rwxr-xr-xreadme.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/readme.rst b/readme.rst
index f37c17f..5d213c2 100755
--- a/readme.rst
+++ b/readme.rst
@@ -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
+================================= ======================================================