Version 3.0.0.2

StringUtilities class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class StringUtilities
Inheritance
  • System.Object
  • StringUtilities

Methods

FastEndsWith(String, String)
public static bool FastEndsWith(this string str, string endsWith)
Parameters
System.String str

System.String endsWith

Returns
System.Boolean

NicifyByteSize(Int32, Int32)
public static string NicifyByteSize(int bytes, int decimals = 1)
Parameters
System.Int32 bytes

System.Int32 decimals

Returns
System.String