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 [2021/07/21 15:32] – craigt | syntax:functions:remove [2021/08/15 02:53] (current) – [See also] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remove(text, | + | ======Remove(text, |
Category: | Category: | ||
\\ | \\ | ||
=====Description===== | =====Description===== | ||
- | This function removes a specified number | + | This function removes a substring |
\\ | \\ | ||
=====Arguments===== | =====Arguments===== | ||
- | ^Argument^Description^ | + | ^Argument^Type^Description^ |
- | |text|Any text string or value that can implicitly be converted to text.| | + | |text|Text|Any text value from which the substring of text is removed.| |
- | |N_start|The N< | + | |start|Number (Integer)|The position of the first character |
- | |N_chars|The number of characters to remove.| | + | |length|Number (Integer)|The number of characters to remove.| |
- | \\ | + | |
- | ====Return value type==== | + | **Return value type:** Text |
- | Text | + | |
\\ | \\ | ||
=====Remarks===== | =====Remarks===== | ||
- | All three arguments must be supplied or a warning applies in each row of the column. | + | Number values entered for //text// are implicitly converted to text. |
- | If //N_start// is a position | + | Entering a value for //start// that is past the number of characters |
- | + | ||
- | If //N_chars// exceeds | + | |
+ | 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===== | =====Examples===== | ||
+ | remove(' | ||
- | remove(' | + | remove(' |
- | remove(' | + | |
- | remove(' | + | |
- | remove(1203, | + | |
- | remove((10*10), | + | |
- | remove(' | + | |
- | remove(' | + | |
+ | remove(32876, | ||
+ | |||
+ | remove(' | ||
+ | |||
+ | remove(' | ||
+ | |||
\\ | \\ | ||
- | ===== See also ===== | + | =====See also===== |
- | * [[syntax: | + | * [[syntax: |
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/remove.txt · Last modified: 2021/08/15 02:53 by craigt