C# Class WebDriverSEd.Extensions.StringExtensions

ファイルを表示 Open project: Assiance/Selenium2-WebDriverSEd

Public Methods

Method Description
CleanJson ( this target ) : string
CleanXml ( this target ) : string
IsNullOrEmpty ( this target ) : bool
RemoveLineBreaks ( this theString ) : string
ReplaceFirst ( this text, string search, string replace ) : string

Method Details

CleanJson() public static method

public static CleanJson ( this target ) : string
target this
return string

CleanXml() public static method

public static CleanXml ( this target ) : string
target this
return string

IsNullOrEmpty() public static method

public static IsNullOrEmpty ( this target ) : bool
target this
return bool

RemoveLineBreaks() public static method

public static RemoveLineBreaks ( this theString ) : string
theString this
return string

ReplaceFirst() public static method

public static ReplaceFirst ( this text, string search, string replace ) : string
text this
search string
replace string
return string