hi am trying to split the string in flex,but i can’t to separate correctly
private var image_path:String = "http://pvm4.yyy.in/sample-31/demo/img0.jpg";
I want to split the number 0
so am trying this code
image_path.substring(image_path.lastIndexOf("/img"));
but am getting img0.jpg i need 0 only how to split this?
1 Answer