Lowercase and whitespace

I don’t know if there is a function to remove whitespace from a string and another to convert uppercase to lowercase.
It would be interesting to verify that a student has entered correctly: “x ^ 11”, without having to resort to the graphic window.

this.latex.lowercase.removeWhitespace = “x^{11}”

For latex, use backticks instead of quotes to get rid of whitespace. Latex comparison is more reliable than strings, although best practice for expressions or equations is comparing evaluations. There’s no case conversion though.

Hello Daniel. OK thanks