C# Класс FakeO.Extenstions.StringExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AlphanumericOnly() публичный статический Метод

public static AlphanumericOnly ( this s ) : string
s this
Результат string

Capitalise() публичный статический Метод

Capitalise the first letter of the given string.
public static Capitalise ( this s ) : string
s this
Результат string

Letterify() публичный статический Метод

Get a string with every '?' replaced with a random character from the alphabet.
public static Letterify ( this s ) : string
s this
Результат string

Numerify() публичный статический Метод

Get a string with every occurence of '#' replaced with a random number.
public static Numerify ( this s ) : string
s this
Результат string