Oct-31-2016, 06:35 AM
Hello!
Is not the answer to your question but why don't you use the built-in strip()? For me it is a lot easier since '**' are at the both ends of the string.
Is not the answer to your question but why don't you use the built-in strip()? For me it is a lot easier since '**' are at the both ends of the string.
'**string1;string2;string3**'.strip('**')