is there a shorter (find & replace-)formular for:
set suche1 to search for return & ““highlights_en”” & return
set contents of item 1 of suche1 to column break
what would be the correct syntax?
is there a shorter (find & replace-)formular for:
set suche1 to search for return & ““highlights_en”” & return
set contents of item 1 of suche1 to column break
what would be the correct syntax?
This is the most common search-replace routine in vanilla AppleScript (case-sensitive):
gracias
While jj is right, that is a very common routine and it does work, I prefer this one:
The two are almost identical except this one is safer because it resets the text item delimiters to what they had been which is not necessarily “”.
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]
If you want to get fancy with GREP search and replaces, there are lots of tools you can use. I like to use a “do shell script” call to Perl:
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]