UtilStringConvertFromSuperscript Method
Converts the characters in the input string to their corresponding superscript forms.
Letters in a superscript text are half the normal letter size and are placed above the middle of a text line.
For example, the word "Sunshine" in superscript looks like this: "ᔆᵘⁿˢʰⁱⁿᵉ".
Superscripts are often used in mathematics to denote powers of a number, such as "x²" or "yᵐ".
They are also often used to write ordinal numbers, for example, 1ˢᵗ, 2ⁿᵈ, 3ʳᵈ, 4ᵗʰ, and so on.
Superscript (Wikipedia):
https://en.wikipedia.org/wiki/Subscript_and_superscript
Namespace: DevCase.Core.DataProcessing.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ConvertFromSuperscript(
string input
)
Public Shared Function ConvertFromSuperscript (
input As String
) As String
Dim input As String
Dim returnValue As String
returnValue = UtilString.ConvertFromSuperscript(input)
public:
static String^ ConvertFromSuperscript(
String^ input
)
static member ConvertFromSuperscript :
input : string -> string
No code example is currently available or this language may not be supported.
- input String
-
The input string to convert to superscript.
String
The input string converted to their corresponding superscript forms.
This is a code example.
No code example is currently available or this language may not be supported.
Dim input As String = "ᵀʰᵉ ⁱᵈᵉᵃˡ ᵗᵉᵐᵖᵉʳᵃᵗᵘʳᵉ ᶠᵒʳ ˢˡᵉᵉᵖⁱⁿᵍ ⁱˢ ¹⁸⋅³ ᵈᵉᵍʳᵉᵉˢ ᑦᵉˡˢⁱᵘˢ ⁽⁶⁵ ᵈᵉᵍʳᵉᵉˢ ⸁ᵃʰʳᵉⁿʰᵉⁱᵗ⁾"
Dim result As String = ConvertFromSuperscript(input)
Console.WriteLine(result)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.