Hello all,
I have a text field (i.e. DUE_TIME) and I need to split off the last value into a new field (i.e. VERSION). I have a script that works to this end, but I cannot incorporate it into modelbuilder (i.e. lack the skills currently) and as I am short on time, I have shelved that for now and am hoping to simply use the field calculator. The dilemma I'm having is that the field I'm trying to split has inconsistent indexing (i.e. month/day/year or month/day/year #) so trying to simply use the split function in the field calculator throws an error "index is out of range". Is there a way to get around this by using the code block in the field calculator? An If-Then Statement perhaps? My goal is to populate the VERSION field with the number after the date (in the DUE_TIME field) IF a number exists after the date, and otherwise, populate "0". Thank you all very much for your time and consideration.

