Rune.GetRuneAt(String, Int32) Method
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.
Gets the Rune that begins at a specified position in a string.
public:
static System::Text::Rune GetRuneAt(System::String ^ input, int index);
public static System.Text.Rune GetRuneAt(string input, int index);
static member GetRuneAt : string * int -> System.Text.Rune
Public Shared Function GetRuneAt (input As String, index As Integer) As Rune
- input
- String
The string from which to create the rune.
- index
- Int32
The starting position in input
at which to create the rune.
The rune obtained from input
at the specified index
.
input
is null
.
index
does not reference the start of a valid scalar value in input
.
index
is outside the range of input
.
Throws an exception if input
is null
, index
is out of range, or index
does not reference the start of a valid scalar value within input
.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: