I have a List emp_id = "['1406','41232']"
I want to convert the same into List ['1406','41232']
I tried
emp_id = emp_id.strip('][').split(", ")
But it resulted output was ["'1406'","'41232'"]"
I have a List emp_id = "['1406','41232']"
I want to convert the same into List ['1406','41232']
I tried
emp_id = emp_id.strip('][').split(", ")
But it resulted output was ["'1406'","'41232'"]"