FormattedNumberRange.SubSequence(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.
Returns part of the formatted range as a managed string.
public string? SubSequence(int start, int end);
member this.SubSequence : int * int -> string
Parameters
- start
- Int32
The zero-based index of the first UTF-16 code unit to include.
- end
- Int32
The zero-based index immediately after the last UTF-16 code unit to include.
Returns
The string conversion of the result from SubSequenceFormatted(Int32, Int32), or null if that method returns null.
Remarks
This .NET convenience method calls SubSequenceFormatted(start, end) and converts its result to a string. The start index is included; the end index is excluded. Equal indexes select an empty sequence.
Java documentation for android.icu.number.FormattedNumberRange.subSequence(int, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.