C# Класс PicklesDoc.Pickles.Extensions.StringExtensions

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

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

Метод Описание
ComparisonNormalize ( this text ) : string

Takes a string and lowercases it, removing newline characters and replacing tabs with spaces

ExpandWikiWord ( this word ) : string
ToSlug ( this text ) : string

Takes a string and returns a url-friendly version of the string (slug) with all special characters and extra spaces stripped out, with words seperated by dashes.

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

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

Takes a string and lowercases it, removing newline characters and replacing tabs with spaces
public static ComparisonNormalize ( this text ) : string
text this The string that will be normalized for comparison.
Результат string

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

public static ExpandWikiWord ( this word ) : string
word this
Результат string

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

Takes a string and returns a url-friendly version of the string (slug) with all special characters and extra spaces stripped out, with words seperated by dashes.
public static ToSlug ( this text ) : string
text this The string that will be used to create the slug.
Результат string