[Tutor] no rsplit

luke rabidpoobear at gmail.com
Sun Aug 21 19:46:51 CEST 2005


>v = "64x43x12"  -> '64x43', '12'
> 
> How split it by the las 'x'?
[snip]

>>>v = "64x43x12"
>>>temp = v.split("x")[-1:]
>>>print temp
['12']

that's the best I can do for now.
HTH,
-Luke



More information about the Tutor mailing list