syntax:functions:remove
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syntax:functions:remove [2015/04/03 18:44] – dmitry | syntax:functions:remove [2021/08/15 02:53] (current) – [See also] craigt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Remove(text, | + | ======Remove(text, |
| + | Category: | ||
| - | Removes | + | \\ |
| + | =====Description===== | ||
| + | This function removes a substring of text from //text//, //length// characters long, and starting with the //start//<sup>th</ | ||
| - | First argument | + | \\ |
| + | =====Arguments===== | ||
| + | ^Argument^Type^Description^ | ||
| + | |text|Text|Any text value from which the substring of text is removed.| | ||
| + | |start|Number (Integer)|The position of the first character within //text// to be removed.| | ||
| + | |length|Number (Integer)|The number of characters to remove.| | ||
| - | ^ Example | + | **Return value type:** Text |
| - | | | + | |
| - | | | + | \\ |
| + | =====Remarks===== | ||
| + | Number values entered for //text// are implicitly converted to text. | ||
| + | |||
| + | Entering a value for //start// that is past the number of characters in //text// returns the full //text// value. | ||
| + | |||
| + | Entering a value for //length// that exceeds the number of characters after the //start// position, returns the leading characters in //text// up to the //start// position. | ||
| + | |||
| + | \\ | ||
| + | =====Examples===== | ||
| + | remove(' | ||
| + | |||
| + | remove(' | ||
| + | |||
| + | remove(32876, | ||
| + | |||
| + | remove(' | ||
| + | |||
| + | remove(' | ||
| + | |||
| + | \\ | ||
| + | =====See also===== | ||
| + | * [[syntax: | ||
| + | * [[syntax: | ||
| + | * [[syntax: | ||
| + | * [[syntax: | ||
| - | **See also** | ||
| - | * [[syntax: | ||
syntax/functions/remove.1428101092.txt.gz · Last modified: by dmitry