Board Thread:Lua Help/@comment-8335270-20141112051302

I want to capitalize a string similar to using ucfirst: in magic words, as well as upper-casing and lower-casing

return mw.language:ucfirst(text) yields script error and I have minimal clue how to use any other Scribunto libraries. Do I need to require something for it to work?

Module in question. Function "Prime".

Thanks! 