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.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=1009647
ArticleTitle=Finding text boundaries in Java
publish-date=07011999