Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iostream.h

macrumors regular
Original poster
Mar 4, 2004
231
0
Albuquerque, NM
Let's say I have a variable with a value "8si83ejHello World", and I want to trim off the "8si83ej" in Applescript, is there any way to do this? Everything I could find was related to the trim_line() function which is no longer available.
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
You are probably looking for the trim_line subroutine shown here. Simply copy it into your script.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.