خرید بک لینک

Vote count: 0

I have a string like

var directoryPath = "file:///storage/sdcard0/Android/data/com.ionicframework.ftptranfer949961/cache/1467013143014.png"

in the above variable i wold like to store only particular stig like this

var updatedPath = "/storage/sdcard0/Android/data/com.ionicframework.ftptranfer949961/cache/"

i have tried the split() method but i dont know how to store the particular path in my updatedPath variable.

asked 44 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 7 تير 1395 ساعت: 19:20

صفحه بندی