Small assertion


in String::replaceCharacters(), the following assertion could eventually be added :

jassert (charactersToReplace.length() == charactersToInsertInstead.length());

(the doc says "the two strings passed in must be the same length", but if you don't read it, you'll get unexpected results :)
 

Ah, good call, didn't realise it didn't have an assertion like that, thanks!