Last active
September 10, 2016 00:38
-
-
Save zaydek-old/e6a22932bd68ac89dbc43bbe6f4a6ab1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on replace(s, f, r) | |
set AppleScript's text item delimiters to f | |
set _ to text items in s | |
set AppleScript's text item delimiters to r | |
text items of _ as string | |
end replace | |
replace("AppleScript", "Apple", "Java") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment