String.copyValueOf
Class Overview | Class Members |
This Package |
All Packages
public static String copyValueOf( char data[],
int offset,
int count )
Parameters
- data
- the character array.
- offset
- initial offset of the subarray.
- count
- length of the subarray.
Returns
a String that contains the characters of the
specified subarray of the character array.
Description
Returns a String that is equivalent to the specified character array.
It creates a new array and copies the characters into it.
public static String copyValueOf( char data[] )
Parameters
- data
- the character array.
Returns
a String that contains the characters of the
character array.
Description
Returns a String that is equivalent to the specified character array.
It creates a new array and copies the characters into it.