Finding text boundaries in Java

Overcoming differences in international style

From the developerWorks archives

Richard Gillam

Date archived: December 19, 2016 | First published: July 01, 1999

Imagine you're writing a text editor application. The editor needs to wrap words so they stay together on a line. But what constitutes a "word," and how do you explain it to the application?

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.

Zone=Java development
ArticleTitle=Finding text boundaries in Java