aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.has.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Text.has.3')
-rw-r--r--man/man3/tomo-Text.has.314
1 files changed, 8 insertions, 6 deletions
diff --git a/man/man3/tomo-Text.has.3 b/man/man3/tomo-Text.has.3
index 7e56020b..3397cc2b 100644
--- a/man/man3/tomo-Text.has.3
+++ b/man/man3/tomo-Text.has.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.has 3 2025-11-09 "Tomo man-pages"
+.TH Text.has 3 2025-11-29 "Tomo man-pages"
.SH NAME
Text.has \- check for substring
.SH LIBRARY
@@ -19,11 +19,11 @@ Checks if the `Text` contains some target text.
.TS
allbox;
-lb lb lbx lb
-l l l l.
-Name Type Description Default
-text Text The text to be searched. -
-target Text The text to search for. -
+lb lb lbx
+l l l.
+Name Type Description
+text Text The text to be searched.
+target Text The text to search for.
.TE
.SH RETURN
`yes` if the target text is found, `no` otherwise.
@@ -33,3 +33,5 @@ target Text The text to search for. -
assert "hello world".has("wo") == yes
assert "hello world".has("xxx") == no
.EE
+.SH SEE ALSO
+.BR Tomo-Text (3)