Servertec | getChars( )
M E N U Content Introduction Release Notes Requirements Installation Change Log Future Plans Knowledge Base Referance Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Error File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Server Side Preprocessor Executable Make Samples 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-1998 Servertec. All rights reserved. Last Modified: Wed Apr 15 00:16:38 EDT 1998