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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Jack Back - Wood Back Replacement for iPhone 4: Review karleaglemac iPhone Accessories 49 Feb 9, 2012 05:23 PM
Mas Design - Ti Rust: Canvas (Titanium Back Replacement for iPhone 4): Review karleaglemac iPhone Accessories 21 Oct 11, 2011 08:04 AM
PSU replacement for PowerMac G5 1.8 DP 2004 >>> PM G5 2005? netsurfz PowerPC Macs 3 Sep 7, 2011 09:26 AM
help with excel for mac 2008 damiang72 Mac Applications and Mac App Store 0 Nov 14, 2010 06:19 AM
Help with Sed and Applescript, replacing strings in files. kidalex Mac Programming 2 May 23, 2009 01:20 PM


All times are GMT -5. The time now is 04:18 PM.

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

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