C# Class FlatRedBall.Utilities.StringBuilderExtensions

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
Contains ( this sb, string whatToSearchFor ) : bool
IndexOf ( this sb, char value ) : int

Get index of a char

IndexOf ( this sb, char value, int startIndex ) : int

Get index of a char starting from a given index

IndexOf ( this sb, string value ) : int

Get index of a string

IndexOf ( this sb, string value, bool ignoreCase ) : int

Get index of a string with case option

IndexOf ( this sb, string value, int startIndex ) : int

Get index of a string from a given index

IndexOf ( this sb, string value, int startIndex, bool ignoreCase ) : int

Get index of a string from a given index with case option

IndexOfAny ( this sb, char values, int startIndex ) : int
InsertLine ( this sb, int &index, string value ) : void
LastIndexOf ( this sb, string value ) : int
Substring ( this sb, int startIndex, int length ) : string

Method Details

Contains() public static méthode

public static Contains ( this sb, string whatToSearchFor ) : bool
sb this
whatToSearchFor string
Résultat bool

IndexOf() public static méthode

Get index of a char
public static IndexOf ( this sb, char value ) : int
sb this
value char
Résultat int

IndexOf() public static méthode

Get index of a char starting from a given index
public static IndexOf ( this sb, char value, int startIndex ) : int
sb this
value char
startIndex int
Résultat int

IndexOf() public static méthode

Get index of a string
public static IndexOf ( this sb, string value ) : int
sb this
value string
Résultat int

IndexOf() public static méthode

Get index of a string with case option
public static IndexOf ( this sb, string value, bool ignoreCase ) : int
sb this
value string
ignoreCase bool
Résultat int

IndexOf() public static méthode

Get index of a string from a given index
public static IndexOf ( this sb, string value, int startIndex ) : int
sb this
value string
startIndex int
Résultat int

IndexOf() public static méthode

Get index of a string from a given index with case option
public static IndexOf ( this sb, string value, int startIndex, bool ignoreCase ) : int
sb this
value string
startIndex int
ignoreCase bool
Résultat int

IndexOfAny() public static méthode

public static IndexOfAny ( this sb, char values, int startIndex ) : int
sb this
values char
startIndex int
Résultat int

InsertLine() public static méthode

public static InsertLine ( this sb, int &index, string value ) : void
sb this
index int
value string
Résultat void

LastIndexOf() public static méthode

public static LastIndexOf ( this sb, string value ) : int
sb this
value string
Résultat int

Substring() public static méthode

public static Substring ( this sb, int startIndex, int length ) : string
sb this
startIndex int
length int
Résultat string