xtd 0.2.0
Loading...
Searching...
No Matches

◆ to_array() [3/3]

std::vector< value_type > xtd::ustring::to_array ( size_t  start_index,
size_t  length 
) const
noexcept

Copies the characters in this instance to a Unicode character array starting at specified index with specified length.

Parameters
start_indexThe starting position of string to convert.
lengthThe length of the string to convert
Returns
A character array whose elements are the individual characters of this instance. If this instance is an empty xtd::ustring, the returned array is empty and has a zero length.