Servertec | sval( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Config Context Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request RequestDispatcher Response Session SqlTypes Stack StreamTokenizer commentChar( ) eolIsSignificant( ) lowerCaseMode( ) nextToken( ) nval( ) ordinaryChar( ) ordinaryChars( ) parseNumbers( ) pushBack( ) quoteChar( ) resetSyntax( ) slashSlash Comments( ) slashStarComments( ) StreamTokenizer( ) sval( ) toString( ) TT_EOF( ) TT_EOL( ) TT_NUMBER( ) TT_WORD( ) ttype( ) whitespaceChars( ) wordChars( ) String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
If the current token is a word, sval contains the value of that string using the specified string tokenizer object. #### Syntax sval( streamtokenizer ) streamtokenizer.sval( ) #### Parameters
streamtokenizer | the stream tokenizer object to use.
#### Returns
string | if ttype field equals TT_WORD, returns that word. if the current token is a quoted string, returns the body of that string.
#### Example
    value = st.sval( )
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005