C# 클래스 PicklesDoc.Pickles.Extensions.StringExtensions

파일 보기 프로젝트 열기: picklesdoc/pickles

공개 메소드들

메소드 설명
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