Class TMP_TextParsingUtilities
Inheritance
System.Object
TMP_TextParsingUtilities
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TMPro
Syntax
public class TMP_TextParsingUtilities
Properties
instance
Get a singleton instance of the TextModuleUtilities.
Declaration
public static TMP_TextParsingUtilities instance { get; }
Property Value
Type | Description |
---|---|
TMP_TextParsingUtilities |
Methods
GetHashCode(String)
Function returning the hashcode value of a given string.
Declaration
public static uint GetHashCode(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s |
Returns
Type | Description |
---|---|
System.UInt32 |
GetHashCodeCaseSensitive(String)
Declaration
public static int GetHashCodeCaseSensitive(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s |
Returns
Type | Description |
---|---|
System.Int32 |
IsHighSurrogate(UInt32)
Check if Unicode is High Surrogate
Declaration
public static bool IsHighSurrogate(uint c)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | c |
Returns
Type | Description |
---|---|
System.Boolean |
IsLowSurrogate(UInt32)
Check if Unicode is Low Surrogate
Declaration
public static bool IsLowSurrogate(uint c)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | c |
Returns
Type | Description |
---|---|
System.Boolean |
ToLowerASCIIFast(Char)
Get lowercase version of this ASCII character.
Declaration
public static char ToLowerASCIIFast(char c)
Parameters
Type | Name | Description |
---|---|---|
System.Char | c |
Returns
Type | Description |
---|---|
System.Char |
ToLowerASCIIFast(UInt32)
Get lowercase version of this ASCII character.
Declaration
public static uint ToLowerASCIIFast(uint c)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | c |
Returns
Type | Description |
---|---|
System.UInt32 |
ToUpperASCIIFast(Char)
Get uppercase version of this ASCII character.
Declaration
public static char ToUpperASCIIFast(char c)
Parameters
Type | Name | Description |
---|---|---|
System.Char | c |
Returns
Type | Description |
---|---|
System.Char |
ToUpperASCIIFast(UInt32)
Get uppercase version of this ASCII character.
Declaration
public static uint ToUpperASCIIFast(uint c)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | c |
Returns
Type | Description |
---|---|
System.UInt32 |