Strings and spaces


#1

I noticed that juce hates space characters in strings.
In Jost (juced’ daw) there’s a browser that lets theuser browse harddisks and load plugins inside a graph.
If a plugin has a space inside its name this won’t work.
And also if the space is inside a directory name (program files).

Is there a way to deal with this?


#2

Maybe just a tiny bit of an over-generalisation…?

Of course juce’s file and string classes have no problem with filenames containing spaces - or practically no apps would work at all. Presumably this is a bug in jost.


#3

Allright, I solved it.
I was using addTokens to a stringArray.
So the code was breaking the filename into pieces…
Forget this post=)
And thank you, your library is awesome!