diff options
Diffstat (limited to 'man/man3/tomo-Text.from.3')
| -rw-r--r-- | man/man3/tomo-Text.from.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/man/man3/tomo-Text.from.3 b/man/man3/tomo-Text.from.3 index 2d15ac55..53df8278 100644 --- a/man/man3/tomo-Text.from.3 +++ b/man/man3/tomo-Text.from.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Text.from 3 2025-11-09 "Tomo man-pages" +.TH Text.from 3 2025-11-29 "Tomo man-pages" .SH NAME Text.from \- slice from a starting index .SH LIBRARY @@ -19,11 +19,11 @@ Get a slice of the text, starting at the given position. .TS allbox; -lb lb lbx lb -l l l l. -Name Type Description Default -text Text The text to be sliced. - -first Int The index to begin the slice. - +lb lb lbx +l l l. +Name Type Description +text Text The text to be sliced. +first Int The index to begin the slice. .TE .SH RETURN The text from the given grapheme cluster to the end of the text. @@ -36,3 +36,5 @@ A negative index counts backwards from the end of the text, so `-1` refers to th assert "hello".from(2) == "ello" assert "hello".from(-2) == "lo" .EE +.SH SEE ALSO +.BR Tomo-Text (3) |
