Extracting int from string

Spencer Ernest Doidge spencer at efn.org
Mon Jan 13 23:02:29 CET 2003


What would be the best way to extract the integer value 45 from the following string?

'X=   45   A'

Thanks in advance.

-- 
Spencer Doidge




More information about the Python-list mailing list