C# Class FakeO.Extenstions.StringExtensions

Afficher le fichier Open project: rally25rs/FakeO

Méthodes publiques

Méthode Description
AlphanumericOnly ( this s ) : string
Capitalise ( this s ) : string

Capitalise the first letter of the given string.

Letterify ( this s ) : string

Get a string with every '?' replaced with a random character from the alphabet.

Numerify ( this s ) : string

Get a string with every occurence of '#' replaced with a random number.

Method Details

AlphanumericOnly() public static méthode

public static AlphanumericOnly ( this s ) : string
s this
Résultat string

Capitalise() public static méthode

Capitalise the first letter of the given string.
public static Capitalise ( this s ) : string
s this
Résultat string

Letterify() public static méthode

Get a string with every '?' replaced with a random character from the alphabet.
public static Letterify ( this s ) : string
s this
Résultat string

Numerify() public static méthode

Get a string with every occurence of '#' replaced with a random number.
public static Numerify ( this s ) : string
s this
Résultat string