make_punctation
MudOSa4DGD/doc/sfun/make_punctation · 490 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME make_punctation - maybe end a string with a punctation SYNOPSIS varargs string make_punctation(string str, string end) DESCRIPTION This function ends a string str with end. The second argument is optional and defaults to "." The algorithm will strip trailing whitespace and prevent double-ending with the following characters: '!', '?', '.' and end. If the string is already ended, the original string will be returned. It is an sfun and might not be available. SEE ALSO