I am having trouble with a function that is supposed to eliminate spaces from the start of a String and return the resulting string. I reckon a dropWhile could be used but the isSpace bit is causing me problems...
You need to be more specific. What trouble are you having? What problems is the isSpace bit causing?