arrays - python Identify raw or string and convert it to another -


commands = result[0] command in commands:      print(command) 

and result are:

create vlan,1,vlan switch enable configure terminal vlan 1 name vlan 

am returning row (array)? , how convert string?