Method | Description | |
---|---|---|
SubstringAfter ( this src, char c ) : string |
Return the substring after to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.
|
|
SubstringAfterLast ( this src, char c ) : string |
Return the substring after to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.
|
|
SubstringBefore ( this src, char c ) : string |
Return the substring up to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.
|
|
SubstringBeforeLast ( this src, char c ) : string |
Return the substring up to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.
|
public static SubstringAfter ( this src, char c ) : string | ||
src | this | |
c | char | |
return | string |
public static SubstringAfterLast ( this src, char c ) : string | ||
src | this | |
c | char | |
return | string |
public static SubstringBefore ( this src, char c ) : string | ||
src | this | |
c | char | |
return | string |
public static SubstringBeforeLast ( this src, char c ) : string | ||
src | this | |
c | char | |
return | string |