Extracting int from string

Spencer Ernest Doidge spencer at efn.org
Mon Jan 13 17:02:29 EST 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