TinyMUX

Wordstart()

Functions

Description

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

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

Examples

> say wordstart(This is a test, 3)

You say, “9”

wordend(), mid(), words()