diff --git a/Help/helps/Help.hhc b/Help/helps/Help.hhc index 53eca72..d534ab9 100644 --- a/Help/helps/Help.hhc +++ b/Help/helps/Help.hhc @@ -2203,6 +2203,10 @@ +
Check if a string starts with the given substring.
+ +returnedBoolean = strstartswith(wordString, suffixString)
+ +returnedBoolean - type: bool
+wordString - type: str
+suffixString - type: str
Unlike the function called suffix, + strstartswith does a simple check + for terminal string.
+ +@POST
+if (!strstartswith(N("$text",1),"ing"))
+ fail();
+@RULES
+_ving <- _verb @@
strcontains, + strcontainsnocase, strpiece, + strsubst, suffix, + String Functions
+ ++ +
diff --git a/Help/helps/strcontainsnocase.htm b/Help/helps/strcontainsnocase.htm index afb2c9b..5b9d04f 100644 --- a/Help/helps/strcontainsnocase.htm +++ b/Help/helps/strcontainsnocase.htm @@ -72,8 +72,11 @@
strcontains, - strpiece, strendswith, - strsubst, String + strpiece, + strendswith, + strstartswith, + strsubst, + String Functions
diff --git a/Help/helps/strendswith.htm b/Help/helps/strendswith.htm index 4d51dbc..957e76f 100644 --- a/Help/helps/strendswith.htm +++ b/Help/helps/strendswith.htm @@ -40,7 +40,7 @@
-
Check if a string is is terminated by the given substring.
+
Check if a string is terminated by the given substring.
@@ -87,7 +87,9 @@
-
strcontains, +
+ strendswith, + strcontains, strcontainsnocase, strpiece, strsubst, suffix, String Functions
diff --git a/Help/helps/strpiece.htm b/Help/helps/strpiece.htm index 00b880a..d980a6e 100644 --- a/Help/helps/strpiece.htm +++ b/Help/helps/strpiece.htm @@ -73,7 +73,7 @@
strsubst, strcontains, - strcontainsnocase, strendswith, + strcontainsnocase, strendswith, strendswith, String Functions
diff --git a/Help/helps/strstartswith.htm b/Help/helps/strstartswith.htm new file mode 100644 index 0000000..48ce704 --- /dev/null +++ b/Help/helps/strstartswith.htm @@ -0,0 +1,99 @@ + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +