hxrandom
hxrandom copied to clipboard
Suggestion for implementing word(), sentence() and paragraph()
Just an idea, but wouldn't it be better if the functions word(), sentence() and paragraph() returned from a given string instead of from Lorem Ipsum?
With words being seperated by spaces, sentences by dots and paragraph by single or double newline. Or by defining what to use as seperator.
That way these would be more useful instead of only for prototyping.