1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Applescript replacement for trim_line()?

Discussion in 'Mac Programming' started by iostream.h, Oct 22, 2005.

  1. macrumors regular

    #1
    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.
     
  2. macrumors G3

    iMeowbot

    #2
    You are probably looking for the trim_line subroutine shown here. Simply copy it into your script.
     

Share This Page