I want to take this string
00:00:00:00
and turn it into this string
00:00:00:00
I have tried to use applescript delimiters to get it done but applescript keeps seeing the \ character and thinking I want to escape the next character in my script so I can’t seem to change the applescript delimiter from : to :
Could someone suggest the right way to go about this?
Thanks in advance
L
try
set TC_a to "00:00:00:00"
set AppleScript's text item delimiters to ":"
set TC_a_items to text items of TC_a
set AppleScript's text item delimiters to "\\:"
set tc_b to TC_a_items as string
on error
set AppleScript's text item delimiters to ""
end try