Thomas Gann:

I've written a Markov bot in D, and I have function whose job it is to take an input string, convert all newline characters to spaces and all uppercase letters to lowercase, and then return an array of words that are generated by splitting the string up by whitespace.

Take a look at the ways I have used here:
http://forum.dlang.org/thread/[email protected]

Bye,
bearophile

Reply via email to