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 [2015/05/26 09:22] – dmitry | syntax:functions:left [2021/08/14 22:15] (current) – [Examples] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Left(text, | + | ====== Left(text, |
+ | Category: | ||
- | Returns //N// left symbols | + | \\ |
+ | =====Description===== | ||
+ | This function returns the specified number of symbols from the left of // | ||
- | ^ | + | \\ |
- | | | + | =====Arguments===== |
- | | | + | ^Argument^Type^Description^ |
+ | |text|Text|The text value to extract the symbols from.| | ||
+ | |no_of_chars|Integer, minimum of 0|The number of symbols returned from the left side of the //text// argument.| | ||
- | **See also** | + | **Return value type:** Text |
- | * [[syntax: | + | |
- | * [[syntax: | + | \\ |
+ | =====Remarks===== | ||
+ | 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. | ||
+ | |||
+ | Passing in a date value (# | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | left(' | ||
+ | |||
+ | left(' | ||
+ | |||
+ | left(' | ||
+ | |||
+ | left(' | ||
+ | |||
+ | left(12345, 3) //Returns ' | ||
+ | |||
+ | left(# | ||
+ | |||
+ | left(100*3, 1) //Returns ' | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/left.1432646574.txt.gz · Last modified: 2015/05/26 09:22 by dmitry