Created
August 8, 2011 10:42
-
-
Save ePirat/1131555 to your computer and use it in GitHub Desktop.
AppleScript Fun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set txt to "line 1 | |
line 2 | |
Xeon3D 3 | |
line 4" | |
set txtlist to paragraphs of txt | |
repeat with theLine in txtlist | |
if theLine contains "Xeon3D" then | |
return theLine as text | |
end if | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment