🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators strToInt
This page was created by Peter on 2019-11-22. Last edited by Edgar on 2025-08-31.


Returns an Integer of value equal to self, or |invalid| if self does not represent an integer.

Expression Result
'3.0'.strtoint invalid
'4'.strtoint 4
'toInteger'.strtoint invalid

See also: Parse