UtilStringConvertToSuperscript 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

Definition

Namespace: DevCase.Core.DataProcessing.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ConvertToSuperscript(
	string input
)

Parameters

input  String
The input string to convert to superscript.

Return Value

String
The input string converted to their corresponding superscript forms.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also