Skip to content

Commit ac9eab5

Browse files
committed
Fix relative paths in string-fn documentation for consistency
Signed-off-by: Apoll011 <[email protected]>
1 parent 5126879 commit ac9eab5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/functions/helpers/string-fn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ The following standard methods operate on [strings](../../types/strings-chars.md
3131
| `sub_string` | <ol><li>start position, counting from end if < 0</li><li>_(optional)_ number of characters to extract, none if ≤ 0, to end if omitted</li></ol> | extracts a sub-string |
3232
| `sub_string` | [range](../../variables/ranges.md) of characters to extract, from beginning if ≤ 0, to end if ≥ length | extracts a sub-string |
3333
| `split` | _none_ | splits the string by whitespaces, returning an [array](../../types/arrays.md) of string segments |
34-
| `split` | position to split at (in number of characters), counting from end if < 0, end if ≥ length | splits the string into two segments at the specified character position, returning an [array](../types/arrays.md) of two string segments |
35-
| `split` | <ol><li>delimiter character/string</li><li>_(optional)_ maximum number of segments, 1 if < 1</li></ol> | splits the string by the specified delimiter, returning an [array](../types/arrays.md) of string segments |
36-
| `split_rev` | <ol><li>delimiter character/string</li><li>_(optional)_ maximum number of segments, 1 if < 1</li></ol> | splits the string by the specified delimiter in reverse order, returning an [array](../types/arrays.md) of string segments |
34+
| `split` | position to split at (in number of characters), counting from end if < 0, end if ≥ length | splits the string into two segments at the specified character position, returning an [array](../../types/arrays.md) of two string segments |
35+
| `split` | <ol><li>delimiter character/string</li><li>_(optional)_ maximum number of segments, 1 if < 1</li></ol> | splits the string by the specified delimiter, returning an [array](../../types/arrays.md) of string segments |
36+
| `split_rev` | <ol><li>delimiter character/string</li><li>_(optional)_ maximum number of segments, 1 if < 1</li></ol> | splits the string by the specified delimiter in reverse order, returning an [array](../../types/arrays.md) of string segments |
3737
| `crop` | <ol><li>start position, counting from end if < 0</li><li>_(optional)_ number of characters to retain, none if ≤ 0, to end if omitted</li></ol> | retains only a portion of the string |
3838
| `crop` | [range](../../variables/ranges.md) of characters to retain, from beginning if ≤ 0, to end if ≥ length | retains only a portion of the string |
3939
| `replace` | <ol><li>target character/sub-string</li><li>replacement character/string</li></ol> | replaces a sub-string with another |

0 commit comments

Comments
 (0)