LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Extract a substring (https://www.linuxquestions.org/questions/linux-newbie-8/extract-a-substring-762935/)

prpersonal 10-19-2009 07:56 AM

Extract a substring
 
Hi All,
I am a newbie and not sure if this is the right fourm to ask.
II just have an string "builder_test_string1ABC001_test" and I would like to extract ABC001 from this. Please note that 001 is dynamic and it can change to any numerical value. I wanted to do this in a shell script.


Thanks for ur help in advance
Ramya Srinivaas

Lordandmaker 10-19-2009 08:04 AM

Please don't post the same topic in multiple forums. It makes the ensuing discussion hard to follow, and confuses the hell out of me. It's also against the rules of the forum.

Other one is here.

pixellany 10-19-2009 08:05 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 07:09 AM.