Another newbie question…
I am trying to make a file with substrings with a fixed lenght. Using a texteditor I sometimes have shorter substrings. I want to add additional characters to get the needed lenght of the string. I am trying the paddedleft and paddedright to add the characters, but it does not seem to work.
String paddedLeft (juce_wchar padCharacter, int minimumLength) const;
part of the code:
String naam = editor1->getText();
I am adding the character “1” to the string so it has the total of 20 characters. What do I do wrong? Or is there a much better way of doing this?