C# Class AcTools.Utils.Helpers.StringExtension

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Méthode Description
ApartFromLast ( [ s, [ apart, System.StringComparison comparisonType ) : string
Contains ( this s, string sub, System.StringComparison comparison ) : bool

Private Methods

Méthode Description
ApartFromFirst ( [ s, [ apart ) : string
ApartFromFirst ( [ s, [ apart, System.StringComparison comparisonType ) : string
ApartFromLast ( [ s, [ apart ) : string
ApartFromLast ( [ s, int apart ) : string
CompareAsVersionTo ( [ a, [ b ) : int
DiapasonContains ( [ s, double value, bool roundSingle = true ) : bool
ForceReplace ( [ s, [ oldValue, [ newValue ) : string
ForceReplace ( [ s, [ oldValue, [ newValue, System.StringComparison comparison ) : string
IsVersionNewerThan ( [ currentVersion, [ checkableVersion ) : bool
IsVersionOlderThan ( [ currentVersion, [ checkableVersion ) : bool
RepeatString ( [ s, int number ) : string
Replace ( [ s, [ oldValue, [ newValue, System.StringComparison comparison ) : string
ReplaceLastOccurrence ( [ s, [ what, [ replacement ) : string
SubstringExt ( [ s, int from ) : string
TimeDiapasonContains ( [ s, int value, bool roundSingle = true ) : bool
ToBase64 ( [ a ) : string
ToDiapason ( [ s, int min, int max ) : IEnumerable
ToUtf8String ( [ bytes ) : string

Method Details

ApartFromLast() public static méthode

public static ApartFromLast ( [ s, [ apart, System.StringComparison comparisonType ) : string
s [
apart [
comparisonType System.StringComparison
Résultat string

Contains() public static méthode

public static Contains ( this s, string sub, System.StringComparison comparison ) : bool
s this
sub string
comparison System.StringComparison
Résultat bool