예제 #1
0
파일: Regex.cs 프로젝트: AirKuma/AirProject
 public static StringView GetWordAt(this StringView str, int wordIndex)
 {
     return(str.GetWords().YieldItemAt(wordIndex));
 }
예제 #2
0
파일: Regex.cs 프로젝트: AirKuma/AirProject
 public static IEnumerable <StringView> GetWords(this StringView str)
 {
     return(str.GetWords(ChrCategory.WhitespacePredicate));
 }