Hey guys, I’m running a shell script and it returns a short string like “Credit: nnnnnn:nnnn” where n are numerical values.
I would like to parse out the numbers from the "Credit: " part and do something based on the value. Can’t seem to find a way to parse a simple string like that.
Any help would be great. Thanks!