AnsweredAssumed Answered

Using Field Calculator for turning a string into an integer while removing text...

Question asked by MidnightYell2003 Champion on Feb 24, 2016
Latest reply on Feb 24, 2016 by Dan_Patterson

I feel kind of dumb but I cannot figure out how to make this work.

 

This should be easy, I think, but field calculator is making it difficult for me. I have one field that has text and numbers. I want to use Field Calculator with Python to just grab those numbers and put them into my Long Integer field.

 

I tried using the example from Stack Exchange but maybe I am doing it wrong because this example is making it a string?

(this returns nothing in my records)

 

What am I doing wrong?

Outcomes