Hi all,
I need to convert full string value to integer and here is what I noticed:
if string begins with alphabet char - conversion fails right away, but if there is at least one number symbol it converts it and ignore remaining part of string.
Task.testString = a123
Task.resultString = ToInt(Task.testString, -1) \\ we'll get -1 in this case
===============
Task.testString = 123a1245ab
Task.resultString = ToInt(Task.testString, -1) \\ we'll get 123 here
IF it is designed like that - could Expression help be more specific about cases like that? Or maybe it is simply a bug???

Thanks
#ArchitectureandDesign------------------------------
Vitalii Hetman
Miratech, Inc
------------------------------