Logo Search packages:      
Sourcecode: wims version File versions  Download package

String rene::util::parser::StringParser::parseword ( char  c  )  [inline]

Parse a word upto the character c or blank.

Definition at line 109 of file StringParser.java.

References advance(), and blank().

      {     if (Error) return "";
            while (blank())
            {     if (!advance()) return "";
            int n=N;
            while (!Error && !blank(c)) advance();
            return new String(C,n,N-n);

Generated by  Doxygen 1.6.0   Back to index