I have following string. I need to extract just the Model: or the Orientaiton, or the Software and store as a variable. The problem I'm having is I don't know how to get individual variables. Any advice?
Model: NIKON D200
Orientation: 0
Resolution: 300.000
ResolutionUnit: 2
Software: Nikon View 6.2.7 M
Date and Time: 2007:02:16 14:41:53
Exposure Time: 1/640 Sec
ISO Speed: 210
F Number: 8.0
Flash: Yes, Strobe detected
Zoom Length: 32 mm
Exposure Program: Manual
ISO Speed: 200
Exposure Bias: 0.000
Metering Mode: Spot
Light Source: Unknown
Zoom Length: 32 mm
explodeon each line, then for each lineexplodeon the first colon (ie. explode on colon, limit 2). Trim both sides, and use aforeachto find the "key" you want.