I have this NSString below. I want to be able to get the name of each application and the location of it. Can someone help me or point me in the right direction?
Thanks in advance.
Applications:
Xcode:
Version: 4.5.2
Last Modified: 11/3/12 11:45 PM
Kind: Intel
64-Bit (Intel): Yes
App Store: Yes
Location: /Applications/Xcode.app
Terminal:
Version: 2.3
Last Modified: 6/21/12 12:01 AM
Kind: Intel
64-Bit (Intel): Yes
App Store: No
Location: /Applications/Utilities/Terminal.app
Google Chrome:
Version: 23.0.1271.64
Last Modified: 10/31/12 7:59 PM
Kind: Intel
64-Bit (Intel): No
App Store: No
Location: /Applications/Google Chrome.app
App Store:
Version: 1.2.1
Last Modified: 4/18/12 7:52 PM
Kind: Intel
64-Bit (Intel): Yes
App Store: No
Location: /Applications/App Store.app
I would use componentsSeparatedByString if there are easy delimiters. If not, try to use a regex with NSRegularExpression to find the value