Help with code = Extract numerical value to variable

Steve zerocostproduct at gmail.com
Thu Oct 22 13:27:57 EDT 2009


I have some data that I'm performing some analysis on.
How do I grab the numerical value if it's present and ignore
otherwise. So in the following example
I would have assign the following values to my var
16
20
2
7
0


In Field6
Sample String data is
sold: 16
sold: 20
sold: 2
sold: 0
sold: <storefront>
7
0
<storefront>
sold
null




More information about the Python-list mailing list