C# String String(Char*, Int32, Int32)
Description
String String(Char*, Int32, Int32)
initializes a new
instance of the String class to the value indicated by a specified pointer
to an array of Unicode characters, a starting character position within
that array, and a length.
Syntax
String.String(Char*, Int32, Int32)
has the following syntax.
[CLSCompliantAttribute(false)]//from w ww . j a v a2 s .c o m
public String(
char* value,
int startIndex,
int length
)
Parameters
String.String(Char*, Int32, Int32)
has the following parameters.
value
- A pointer to an array of Unicode characters.startIndex
- The starting position within value.length
- The number of characters within value to use.