Method ToUpperAscii
ToUpperAscii<T>(ref T)
Converts string to uppercase only ASCII characters.
Declaration
public static T ToUpperAscii<T>(this ref T fs) where T : unmanaged, INativeList<byte>, IUTF8Bytes
Parameters
Type | Name | Description |
---|---|---|
T | fs | A string to perform operation. |
Returns
Type | Description |
---|---|
T | Returns a copy of this string converted to uppercase ASCII. |
Type Parameters
Name | Description |
---|---|
T | A string type. |
ToUpperAscii(ref UnsafeText, AllocatorHandle)
Converts string to uppercase only ASCII characters.
Declaration
public static UnsafeText ToUpperAscii(this ref UnsafeText fs, AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
UnsafeText | fs | A UnsafeText string to perform operation. |
AllocatorManager.AllocatorHandle | allocator | The AllocatorManager.AllocatorHandle allocator type to use. |
Returns
Type | Description |
---|---|
UnsafeText | Returns a copy of this string converted to uppercase ASCII. |
ToUpperAscii(ref NativeText, AllocatorHandle)
Converts string to uppercase only ASCII characters.
Declaration
public static NativeText ToUpperAscii(this ref NativeText fs, AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
NativeText | fs | A NativeText string to perform operation. |
AllocatorManager.AllocatorHandle | allocator | The AllocatorManager.AllocatorHandle allocator type to use. |
Returns
Type | Description |
---|---|
NativeText | Returns a copy of this string converted to uppercase ASCII. |