Class StringExtensions
String Extensions.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public static class StringExtensions
Methods
DecodeFrom64(String)
Decodes string from base 64 ASCII.
Declaration
public static string DecodeFrom64(this string encodedData)
Parameters
Type | Name | Description |
---|---|---|
String | encodedData | String to decode. |
Returns
Type | Description |
---|---|
String | Decoded string. |
DecodeFrom64(String)
Decodes string from base 64 ASCII.
Declaration
public static string DecodeFrom64(this string encodedData)
Parameters
Type | Name | Description |
---|---|---|
String | encodedData | String to decode. |
Returns
Type | Description |
---|---|
String | Decoded string. |
EncodeTo64(String)
Encodes the string to base 64 ASCII.
Declaration
public static string EncodeTo64(this string toEncode)
Parameters
Type | Name | Description |
---|---|---|
String | toEncode | String to encode. |
Returns
Type | Description |
---|---|
String | Encoded string. |
EncodeTo64(String)
Encodes the string to base 64 ASCII.
Declaration
public static string EncodeTo64(this string toEncode)
Parameters
Type | Name | Description |
---|---|---|
String | toEncode | String to encode. |
Returns
Type | Description |
---|---|
String | Encoded string. |
NormalizeSeparators(String)
Ensures directory separator chars in provided string are platform independent. Given path might use \ or / but not all platforms support both.
Declaration
public static string NormalizeSeparators(this string path)
Parameters
Type | Name | Description |
---|---|---|
String | path |
Returns
Type | Description |
---|---|
String |
ToProperCase(String)
Capitalize the first character and add a space before each capitalized letter (except the first character).
Declaration
public static string ToProperCase(this string value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
String |
ToProperCase(String)
Capitalize the first character and add a space before each capitalized letter (except the first character).
Declaration
public static string ToProperCase(this string value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
String |