MagicFrisbee
Programmer
Is there a function that changes a normal string of text into a string of text with entities in it? For instance, if I have a string that contains a left bracket in it, the function should see that and return a string that has an ampersand, then an 'l', then a 't', then a semicolon, all in place of the left bracket.
Other common entities would also be replaced, like quotes, ampersands, and right brackets.
Other common entities would also be replaced, like quotes, ampersands, and right brackets.