Wednesday, 14 August 2013

Isolating values from a string

Isolating values from a string

Lets say I have a string "255, 100, 0". How do I isolate each value before
the comma and inserting it into a var?
I mean:
x = 255; y = 100; z = 0;

No comments:

Post a Comment