say Find("needle", in="haystack") // false
say Find("yes", in="well yes, I like cheese") // true
say Length("My horse is amazing") // 19
say Length([1, 2, 3]) // 3
say Random() // 0.03196249773128712
say Random() // 0.6416423921015862
say Floor(1.23456) // 1
say Floor(Random() * 5) // a random integer between 0-4 (included)
say Floor(Random() * 8) + 12 // a random integer between 12 - 19 (included)
say UUID() // "aa4b9fb4-4d37-488c-981f-8aebc4eb9eaa"
say UUID("v1") // "d0b40e8e-7ea4-11eb-9439-0242ac130002"
say UUID("v4") // "4b784011-e49b-4913-9d58-7abf4f8a56bc"
do myTime = Time() // initialize a Time object at the current UTC time
do myTime = Time().at(2021, 03, 28, 12, 53, 20, 123) // initialize a time object at 2021-03-28T12:53:20.123Z
do myTime = Time().unix() // generate the unix timestamp (in milliseconds)
do myTime = Time().format() // returns an ISO8601 string
do myTime = Time().format("%h%d") // returns a string with a custom format
do myTime = Time().add(60) // adds 60 seconds to the value
do myTime = Time().sub(60) // subtract 60 seconds to the value
do myTime = Time().with_timezone("Europe/Paris") // set the time in the given timezone
do myTime = Time().parse("2021-03-28") // parse a date
do myTime = Time().parse("2021-03-28T12:53:20Z") // parse an ISO-formatted string
do myTime = Time().parse("01/01/2021", "%d/%m/%Y") // parse a custom-formatted string
do Exists("myvar") // false
remember myvar = 123
do Exists("myvar") // true