I have a RGBA color in this format:
RGBA:1.000000,0.003922,0.003922,0.003922
How can I separate each value from this string such as:
var alpha = 1.000000;
var red = 0.003922;
var green = 0.003922;
var blue = 0.003922;
I want to do this in php.
split(). It's deprecated. Useexplode()instead.