TinyMUX

Wordend()

Functions

Description

FUNCTION: wordend(<string>, <n>)

Returns the grapheme offset of the end of the Nth word in the given string.

Examples

> say wordend(This is a test, 1)

You say, “4”

wordstart(), mid(), words()