just made a logger that uses
__DATE__ and __TIME__ in its file name and juce refused to create the files. gladly I have github copilot which suggested me to use removeCharacters(“:”) on the string to make it a valid file name on windows.
- i wouldn’t have thought of that on my own.
2.i don’t feel very safe about this solution. it might be specific to my exact machine.
that’s why I’d like to suggest a new function for juce::String that returns the same string but with valid file characters only