i am getting a juce assertion in the following line:
tempchordstring = textEntered.replace(sRoot1+sRoot2,T(""),true);
this occurs if the result of the replace would be a null string.
this appears to be due to a juce assertion inside replacesection at :
String result (newTotalLen, (int) 0);
I realise there is a seperate String::removeCharacters () method, but it does not have the case sensitivity option that i need.
can i suggest that you either :
- amend removeCharacters() so we can specify case sensitivity
- amend the replacesection() code so that if newTotalLen is zero the code just returns a null string.