Check if a string is is terminated by the given substring.
returnedBoolean = strendswith(wordString, suffixString)
returnedBoolean - type: bool
wordString - type: str
suffixString - type: str
Unlike the function called suffix, strendswith does a simple check for terminal string.
@POST
if (!strendswith(N("$text",1),"ing"))
fail();
@RULES
_ving <- _verb @@
strcontains, strcontainsnocase, strpiece, strsubst, suffix, String Functions