Version 3.0.8.0

StringSliceExtensions class

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

Methods

Append(StringBuilder, ref StringSlice)
public static void Append(this StringBuilder sb, ref StringSlice slice)
Parameters
System.Text.StringBuilder sb

StringSlice slice

Contains(String, ref StringSlice)
public static bool Contains(this string str, ref StringSlice slice)
Parameters
System.String str

StringSlice slice

Returns
System.Boolean

EndsWith(String, ref StringSlice)
public static bool EndsWith(this string str, ref StringSlice slice)
Parameters
System.String str

StringSlice slice

Returns
System.Boolean

Slice(String, Int32)
public static StringSlice Slice(this string str, int index)
Parameters
System.String str

System.Int32 index

Returns
StringSlice

Slice(String, Int32, Int32)
public static StringSlice Slice(this string str, int index, int length)
Parameters
System.String str

System.Int32 index

System.Int32 length

Returns
StringSlice

StartsWith(String, ref StringSlice)
public static bool StartsWith(this string str, ref StringSlice slice)
Parameters
System.String str

StringSlice slice

Returns
System.Boolean