ToUpperAscii
Converts string to uppercase only ASCII characters.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
ToUpperAscii<T>(T)
Converts string to uppercase only ASCII characters.
public static T ToUpperAscii<T>(this ref T fs) where T : unmanaged, INativeList<byte>, IUTF8Bytes
Parameters
Returns
Type | Description |
|---|---|
| T | Returns a copy of this string converted to uppercase ASCII. |
ToUpperAscii(UnsafeText, AllocatorHandle)
Converts string to uppercase only ASCII characters.
public static UnsafeText ToUpperAscii(this ref UnsafeText fs, AllocatorManager.AllocatorHandle allocator)
Parameters
A UnsafeText string to perform operation.
The AllocatorManager.AllocatorHandle allocator type to use.
Returns
Type | Description |
|---|---|
| UnsafeText | Returns a copy of this string converted to uppercase ASCII. |
ToUpperAscii(NativeText, AllocatorHandle)
Converts string to uppercase only ASCII characters.
public static NativeText ToUpperAscii(this ref NativeText fs, AllocatorManager.AllocatorHandle allocator)
Parameters
A NativeText string to perform operation.
The AllocatorManager.AllocatorHandle allocator type to use.
Returns
Type | Description |
|---|---|
| NativeText | Returns a copy of this string converted to uppercase ASCII. |