applescript: remove characters from a string —


One of the things I’m often finding myself doing is trying to remove characters from strings, particularly html codes and other markdown clutter. Rather than laboriously messing around with offsets and the like, we can make our lives simpler by making a quick handler that leverages Cocoa’s stringByReplacingOccurrencesOfString method. For example, suppose you’ve got a […]

via applescript: remove characters from a string —

Advertisements