Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToLowerAscii

Converts string to lowercase only ASCII characters.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ToLowerAscii<T>(T)

Converts string to lowercase only ASCII characters.
public static T ToLowerAscii<T>(this ref T fs) where T : unmanaged, INativeList<byte>, IUTF8Bytes

Parameters

fs

T
A string to perform operation.

Returns

Type

Description

TReturns a copy of this string converted to lowercase ASCII.

ToLowerAscii(UnsafeText, AllocatorHandle)

Converts string to lowercase only ASCII characters.
public static UnsafeText ToLowerAscii(this ref UnsafeText fs, AllocatorManager.AllocatorHandle allocator)

Parameters

A UnsafeText string to perform operation.

The AllocatorManager.AllocatorHandle allocator type to use.

Returns

Type

Description

UnsafeTextReturns a copy of this string converted to lowercase ASCII.

ToLowerAscii(NativeText, AllocatorHandle)

Converts string to lowercase only ASCII characters.
public static NativeText ToLowerAscii(this ref NativeText fs, AllocatorManager.AllocatorHandle allocator)

Parameters

A NativeText string to perform operation.

The AllocatorManager.AllocatorHandle allocator type to use.

Returns

Type

Description

NativeTextReturns a copy of this string converted to lowercase ASCII.