Servertec | hasMoreElements( )

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 String StringBuffer StringTokenizer countTokens( ) hasMoreElements( ) hasMoreTokens( ) nextElement( ) nextToken( ) StringTokenizer( ) System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Returns whether the specified string tokenizer object has more tokens. #### Syntax hasMoreElements( stringtokenizer ) stringtokenizer.hasMoreElements( ) #### Parameters
stringtokenizer | the stringtokenizer object to use.
#### Returns
boolean | true if stringtokenizer has more tokens. false if stringtokenizer does not have more tokens.
#### Example
    st = StringTokenizer( sValue )
    if st.hasMoreElements( ) then
        println( "has more tokens" )
    end
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005