Hi ,
I am having a string like A(B,C) .
I want to read A B C separately .
I tried below code with class name as "G(A, B)"
G(A, B)
['', ', B)']
Trying to know how to fetch G and A from here.
Your inputs would be highly appreciated.
I am having a string like A(B,C) .
I want to read A B C separately .
I tried below code with class name as "G(A, B)"
52 if (re.match("[a-zA-Z0-9]\([a-zA-Z0-9]",classname)): 53 print("++++++++++") 54 result=re.split("[a-zA-Z0-9]\([a-zA-Z0-9]",classname,0) 55 print(classname) 56 print(result)++++++++++
G(A, B)
['', ', B)']
Trying to know how to fetch G and A from here.
Your inputs would be highly appreciated.