syntax:functions:removeend
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:removeend [2015/03/27 17:02] – elenap | syntax:functions:removeend [2021/08/15 02:26] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== RemoveEnd(text, | + | ======RemoveEnd(text, |
+ | Category: | ||
- | Returns the //'text'// without | + | \\ |
+ | =====Description===== | ||
+ | This function returns | ||
- | Note that the expression does not require to use single quote signs (' | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |text|Text|Any text value from which the trailing characters are removed.| | ||
+ | |length|Number | ||
- | ^ Example | + | **Return value type:** Text |
- | | RemoveEnd( '1000 USD', 4 ) | 1000 | | + | |
- | | removeend(' | + | |
- | === See also === | + | \\ |
- | * [[syntax: | + | =====Remarks===== |
- | * [[syntax: | + | Number values entered for //text// are implicitly converted to text. |
+ | |||
+ | Blank spaces and non-printing characters are counted as characters and removed. | ||
+ | |||
+ | To ensure hidden, non-printing characters are not throwing off results, use the [[syntax: | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | removeend(' | ||
+ | |||
+ | removeend(' | ||
+ | |||
+ | removeend(100200, | ||
+ | |||
+ | removeend(' | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/removeend.txt · Last modified: 2021/08/15 02:52 by craigt