T
tshad
I have a filename that I want to extract the 1st set of numbers up to either
a ".", "-", "_" or "~" and make that an int.
Or I guess easier just take all the values that are 0-9 up to the 1st non
number value.
So that if I have a value 449231.xml or 449231~1.xml or 449231-1a.xml, I
want to get the 449231 only and make that an integer.
Can that be done in one statement?
Thanks,
Tom
a ".", "-", "_" or "~" and make that an int.
Or I guess easier just take all the values that are 0-9 up to the 1st non
number value.
So that if I have a value 449231.xml or 449231~1.xml or 449231-1a.xml, I
want to get the 449231 only and make that an integer.
Can that be done in one statement?
Thanks,
Tom