syntax:functions:left
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:left [2021/07/28 00:51] – craigt | syntax:functions:left [2021/08/14 22:15] (current) – [Examples] craigt | ||
---|---|---|---|
Line 9: | Line 9: | ||
=====Arguments===== | =====Arguments===== | ||
^Argument^Type^Description^ | ^Argument^Type^Description^ | ||
- | |text|Text|Any text value (in single or double quotes), or other value that can be implicitly converted | + | |text|Text|The text value to extract the symbols from.| |
- | |no_of_chars|Integer|The number of symbols returned from the left side of the //text// argument.| | + | |no_of_chars|Integer, minimum of 0|The number of symbols returned from the left side of the //text// argument.| |
**Return value type:** Text | **Return value type:** Text | ||
Line 17: | Line 17: | ||
=====Remarks===== | =====Remarks===== | ||
Regardless of the type of value passed in for //text//, the result of this function is //always// a text value. | Regardless of the type of value passed in for //text//, the result of this function is //always// a text value. | ||
+ | |||
+ | Entering a // | ||
Numbers and equations can be used as the //text// argument and are implicitly converted to their text-equivalent. | Numbers and equations can be used as the //text// argument and are implicitly converted to their text-equivalent. | ||
Line 25: | Line 27: | ||
=====Examples===== | =====Examples===== | ||
- | left(' | + | left(' |
- | left(' | + | |
- | left(12345, 3) = ' | + | left(' |
- | left(# | + | |
- | left(100*3, 1) = ' | + | left(' |
+ | |||
+ | left(' | ||
+ | |||
+ | left(12345, 3) // | ||
+ | |||
+ | left(# | ||
+ | |||
+ | left(100*3, 1) // | ||
\\ | \\ | ||
===== See also ===== | ===== See also ===== | ||
- | * [[syntax: | + | * [[syntax: |
- | * [[syntax: | + | * [[syntax: |
syntax/functions/left.txt · Last modified: 2021/08/14 22:15 by craigt