コード例 #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));
 }