Conversions.FromCharArraySubset(Char[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a subset of a Char array to a string.
public:
static System::String ^ FromCharArraySubset(cli::array <char> ^ Value, int StartIndex, int Length);
public static string FromCharArraySubset (char[] Value, int StartIndex, int Length);
static member FromCharArraySubset : char[] * int * int -> string
Public Shared Function FromCharArraySubset (Value As Char(), StartIndex As Integer, Length As Integer) As String
Parameters
- Value
- Char[]
The Char
array to convert.
- StartIndex
- Int32
Zero-based index of the start position.
- Length
- Int32
Length of the subset in bytes.
Returns
The string representation of the specified array from the start position to the specified length.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.