I have a string "abc1234" and want to store the numbers alone as a separate string.
Tried below code. It seems \'i\' is passed as string and if condition fails.