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 @@ +
  • + + +
  • @@ -2528,7 +2532,7 @@
  • - +
  • diff --git a/Help/helps/Possibly_JUNK/NLP++.htm b/Help/helps/Possibly_JUNK/NLP++.htm index f8b1b0f..18a086d 100644 --- a/Help/helps/Possibly_JUNK/NLP++.htm +++ b/Help/helps/Possibly_JUNK/NLP++.htm @@ -44,7 +44,7 @@

    NLP++

    to the NLP++ section.]

    NLP++ + color=#000000>� is a novel programming language developed by Text Analysis International, Inc. It enables a developer to focus on the conceptual task of building a text analyzer while minimizing the need to delve into compiled programming @@ -2555,6 +2555,15 @@

    String Functions

    valign=top>

    strendswith(str, suffix_str) + +

    strstartswith(str, + suffix_str) -

    Does given str end with given suffix_str +

    Does given str ends with given suffix_str + + + +

    strstartswith(str, + suffix_str) + +

    BOOL + +

    Does given str starts with given suffix_str + Example

    See Also

    -

    suffix, strendswith, +

    suffix, strendswith, strstartswith, String Functions

     

    diff --git a/Help/helps/strcontains.htm b/Help/helps/strcontains.htm index a28a05b..22f6772 100644 --- a/Help/helps/strcontains.htm +++ b/Help/helps/strcontains.htm @@ -73,7 +73,7 @@

    See Also

    strcontainsnocase, strpiece, strsubst, - strendswith, String + strendswith, strstartswith, 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 @@

    Example

    See Also

    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 @@

    strendswith

    Purpose

    -

    Check if a string is is terminated by the given substring.

    +

    Check if a string is terminated by the given substring.

    Syntax

    @@ -87,7 +87,9 @@

    Example

    See Also

    -

    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 @@

    Example

    See Also

    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 @@ + + + + + + + + + + +strstartswith + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    strstartswith

    + +

    Purpose

    + +

    Check if a string starts with the given substring.

    + +

    Syntax

    + +

    returnedBoolean = strstartswith(wordString, suffixString)

    + +

    returnedBoolean - type: bool
    +wordString - type: str
    +suffixString - type: str

    + +

    Returns

    + +

    Remarks

    + +

    Unlike the function called suffix, + strstartswith does a simple check + for terminal string.

    + +

    Example

    + +

    @POST
    +if (!strstartswith(N("$text",1),"ing"))
    + fail();
    +@RULES
    +_ving <- _verb @@

    + +

    See Also

    + +

    strcontains, + strcontainsnocase, strpiece, + strsubst, suffix, + String Functions

    + +

     

    + + + + diff --git a/Help/helps/strsubst.htm b/Help/helps/strsubst.htm index 112303a..4b516d5 100644 --- a/Help/helps/strsubst.htm +++ b/Help/helps/strsubst.htm @@ -73,7 +73,7 @@

    Example

    See Also

    strpiece, strcontains, - strcontainsnocase, strendswith, + strcontainsnocase, strendswith, strendswith, String Functions

    diff --git a/Help/helps/suffix.htm b/Help/helps/suffix.htm index 0a72d2f..87b1054 100644 --- a/Help/helps/suffix.htm +++ b/Help/helps/suffix.htm @@ -96,7 +96,7 @@

    Example

    See Also

    strisupper, strendswith, String + href="strendswith.htm">strendswith, strendswith, String Functions