Static StringArray StringArray::fromTokens


#1

Hello everybody!

I want to tokenize srting and from StringArray Class i got to know that fromTokens  it there to that.

But as i am writng code .. it gives me error

                   error C2039: 'fromTokens' : is not a member of 'juce::StringArray'

And also seached in .h file for this, but didnt find and helpfull thinsg. seems static functions are missing in class


#2

No, the function is definitely there. Most likely you're just calling it with the wrong number of arguments?


#3

What JUCE version are you using? I don’t know when but fromTokens was added at some point.


#4

Thanks, accidentaly i was using old version. Now updated to Current one and working Fine. :)