C# Class Netduino.WebServer.Core.Extensions.StringExtensions

Afficher le fichier Open project: martinbuberl/Netduino

Méthodes publiques

Méthode Description
Contains ( this s, char c ) : bool
Contains ( this s, string value ) : bool
EndsWith ( this s, string value ) : bool
IsNullOrEmpty ( this s ) : bool
IsWhiteSpace ( this c ) : bool

Determines whether a character is whitespace.

PadLeft ( this s, int count, char pad ) : string
PadRight ( this s, int count, char pad ) : string
Replace ( this s, char oldChar, char newChar ) : string
Replace ( this s, string oldValue, string newValue ) : string
StartsWith ( this s, string value ) : bool

Method Details

Contains() public static méthode

public static Contains ( this s, char c ) : bool
s this
c char
Résultat bool

Contains() public static méthode

public static Contains ( this s, string value ) : bool
s this
value string
Résultat bool

EndsWith() public static méthode

public static EndsWith ( this s, string value ) : bool
s this
value string
Résultat bool

IsNullOrEmpty() public static méthode

public static IsNullOrEmpty ( this s ) : bool
s this
Résultat bool

IsWhiteSpace() public static méthode

Determines whether a character is whitespace.
public static IsWhiteSpace ( this c ) : bool
c this
Résultat bool

PadLeft() public static méthode

public static PadLeft ( this s, int count, char pad ) : string
s this
count int
pad char
Résultat string

PadRight() public static méthode

public static PadRight ( this s, int count, char pad ) : string
s this
count int
pad char
Résultat string

Replace() public static méthode

public static Replace ( this s, char oldChar, char newChar ) : string
s this
oldChar char
newChar char
Résultat string

Replace() public static méthode

public static Replace ( this s, string oldValue, string newValue ) : string
s this
oldValue string
newValue string
Résultat string

StartsWith() public static méthode

public static StartsWith ( this s, string value ) : bool
s this
value string
Résultat bool