Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 22, 2005, 02:50 PM   #1
iostream.h
macrumors regular
 
Join Date: Mar 2004
Location: Albuquerque, NM
Send a message via AIM to iostream.h
Applescript replacement for trim_line()?

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.
__________________
Macintosh Applications
http://specere.net
iostream.h is offline   0 Reply With Quote
Old Oct 22, 2005, 04:15 PM   #2
iMeowbot
macrumors 601
 
iMeowbot's Avatar
 
Join Date: Aug 2003
You are probably looking for the trim_line subroutine shown here. Simply copy it into your script.
iMeowbot is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Programming 0 Oct 28, 2013 11:38 PM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Applications and Mac App Store 0 Oct 28, 2013 11:32 PM
Applescript help ring Mac Programming 5 Aug 1, 2013 05:42 PM
Seagate replacement replacement dec. iMac 0 Oct 25, 2012 02:29 PM
Resolved: AppleScript help? ArtOfWarfare Mac Programming 5 Aug 10, 2012 03:14 PM

Forum Jump

All times are GMT -5. The time now is 11:39 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC