Applescript replacement for trim_line()?

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

  1. macrumors regular

    Joined:
    Mar 4, 2004
    Location:
    Albuquerque, NM
    #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

    Joined:
    Aug 30, 2003
    #2
    You are probably looking for the trim_line subroutine shown here. Simply copy it into your script.
     

Share This Page