Replace Colon with Forward Slash
Replace Colon with Forward Slash
- Subject: Replace Colon with Forward Slash
- From: Rick Dwyer <email@hidden>
- Date: Tue, 15 Jul 2008 11:57:16 -0400
Hello again list.
Applescript returns a path to a file to me in the following format:
HardDrive:Library:Directory1:Directory2: etc.
I need to convert the returned string into a more terminal friendly
string such as:
/Library/Directory1/Directory2/
Is there an easy way to eliminate the hard drive name from the
beginning of the string and replace the colons with forward slashes?
Thanks in advance.
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden