I am querying DB and want to validation my output. The result from DB is coming in the manner -> (('ABC',),) and I want to validate it with string 'ABC', but I am unable due to extra characters received in my db output .
Can anybody help me with how to remove extra characters that are coming as output from DB?
I tried using Evaluate function:
Evaluate '(('ABC',),)'.replace('(',' ')
I need result as just ABC.