Returns the index of the last character of the next word, plus 1, or
/// IS_NEWLINE if a newline character is encountered before the next word,
/// or IS_EOS if the end of the string is ecnounterd before the next
/// word. The method first skips all whitespace characters at or after
/// 'from', except newlines. If a newline is found IS_NEWLINE is
/// returned. Then it skips all non-whitespace characters and returns the
/// position of the last non-whitespace character, plus 1. The returned
/// index may be greater than the last valid index in the tsring, but it is
/// always suitable to be used in the String.substring() method.
///
/// Non-whitespace characters are defined as in the
/// Character.isWhitespace method (that method is used).
///
///
///