Servertec | getChars( )

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 Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Side Preprocessor Executable Samples Sales Legal Feedback |
Returns a new character array object containing the specified string buffer. #### Syntax getChars( stringbuffer , number1 , number2 , chararray , number3 ) stringbuffer.getChars( number1 , number2 , chararray , number3 ) #### Parameters
stringbuffer | the stringbuffer object to copy from.
number1 | the starting offset into the stringbuffer object.
number2 | the ending offset into the stringbuffer object.
chararray | the character array to copy into.
number3 | the starting offset into the chararray object.
#### Returns
none
#### Notes The last character to copy is at ending offset - 1. Copies ending offset - starting offset characters from source stringbuffer object. #### Example
    sb.getChars( 0 , sb.length( ), charArray, 0 )
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999