Hi all,
I have small comparison to make.
I have say two strings,
Code:
StringA="abcdefg"
StringB="abc"
I would like to have a statement which checks if the string contains the below pattern.
StringA passes the test, where as
StringB fails the test
How can I make such comparison,
without using grep or sed.