ends

Syntax: %ends(s1,s2)

true if s1 ends with s2

Examples:

#VAR LineFromMud "You are hungry."
#IF %ends(@LineFromMud,".") {#SAY not wrapped} {#SAY probably wrapped}

displays:

not wrapped


Contents dups eval