tcl_endOfWord

tcl_endOfWord str start

The index after the end of the first word that ends after start, or -1. tcl_startOfNextWord, tcl_startOfPreviousWord, tcl_wordBreakAfter, and tcl_wordBreakBefore find the other edges of words. A word is a run of letters, digits, and underscores.

This page also has tcl_startOfNextWord, tcl_startOfPreviousWord, tcl_wordBreakAfter, tcl_wordBreakBefore.

Examples

A click on an example runs it in the shell of the page.

Facts