Text Truncation Help
I need to parse a file, and truncate some of the text I am coming across.
For example I get:
Prefix:OptionOne
DifferentPrefix:AnotherItem
And I want the following output
OptionOne
AnotherItem
But I’m not sure how…or even what to look up.
The only common denominator is that I want to drop everything before and including the colon.
Thoughts?
For example I get:
Prefix:OptionOne
DifferentPrefix:AnotherItem
And I want the following output
OptionOne
AnotherItem
But I’m not sure how…or even what to look up.
The only common denominator is that I want to drop everything before and including the colon.
Thoughts?
