How to delete the same character inside a text.
If I have a text like: "[4, 5, 6, 3, 9]" how can I delete the commas?
and happy Christmas.
One possible technique would be to use a repeat structure that loops until all commas are removed:
on mouseUp me
theString = "[4, 5, 6, 3, 9]"
repeat while theString contains ","
thePos = offset(",", theString)
However, this is probably not the most efficient technique if dealing with very long strings.
Hello Dee McDee
It works very well!!!
Thank you very much
for your beutiful "Christmas Gift" and
Happy Christmas to you!