diff options
Diffstat (limited to 'man/man3/tomo-Text.without_prefix.3')
| -rw-r--r-- | man/man3/tomo-Text.without_prefix.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/man/man3/tomo-Text.without_prefix.3 b/man/man3/tomo-Text.without_prefix.3 index 5c12c4e8..d1b902da 100644 --- a/man/man3/tomo-Text.without_prefix.3 +++ b/man/man3/tomo-Text.without_prefix.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Text.without_prefix 3 2025-11-09 "Tomo man-pages" +.TH Text.without_prefix 3 2025-11-29 "Tomo man-pages" .SH NAME Text.without_prefix \- remove prefix .SH LIBRARY @@ -19,11 +19,11 @@ Returns the text with a given prefix removed (if present). .TS allbox; -lb lb lbx lb -l l l l. -Name Type Description Default -text Text The text to remove the prefix from. - -prefix Text The prefix to remove. - +lb lb lbx +l l l. +Name Type Description +text Text The text to remove the prefix from. +prefix Text The prefix to remove. .TE .SH RETURN A text without the given prefix (if present) or the unmodified text if the prefix is not present. @@ -33,3 +33,5 @@ A text without the given prefix (if present) or the unmodified text if the prefi assert "foo:baz".without_prefix("foo:") == "baz" assert "qux".without_prefix("foo:") == "qux" .EE +.SH SEE ALSO +.BR Tomo-Text (3) |
