我是使用D的新手,我想要求一个将字符串分解为单词的简单方法的帮助.我的程序从文件中获取文本,并且应该计算该文本中的单词数.
string d words count
count ×1
d ×1
string ×1
words ×1