Guest_imported
New member
- Jan 1, 1970
- 0
I would like to know how to compare a string with another one ending with a particular substring ...For exemple
word1 = dfgABC
word2 = dfgvdhqdhABC
word3 = kdhqkdhqkdhkqsd
What i want is to test if word1 or Word2 ...is ending with ABC..I mean word = *ABC where ..
In my script I would like to verify this before going on ..how to proceed ?
word1 = dfgABC
word2 = dfgvdhqdhABC
word3 = kdhqkdhqkdhkqsd
What i want is to test if word1 or Word2 ...is ending with ABC..I mean word = *ABC where ..
In my script I would like to verify this before going on ..how to proceed ?