Table of Contents

Class StringExtensions

Namespace
OpenAI.Extensions
Assembly
AntRunnerLib.dll

Extension methods for string manipulation

public static class StringExtensions
Inheritance
System.Object
StringExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Methods

RemoveIfStartWith(String, String)

Remove the search string from the beginning of string if it exists

public static string RemoveIfStartWith(this string text, string search)

Parameters

text System.String
search System.String

Returns

System.String