Better way of striping a string I would like to extract the number from a string of the type:
Var = '0x456;//used for fooing'
##I do it this way but I am sure there is much better way of doing this :
v = Var.split(';')
c= v[0]
##use c for further processing ....
What is the better way of extracting the substring 0x456 from the given Var ?