What is the equivalent of Javascript "Slice" in the editor?


#1

… as the title states. If any.


#2

Found a way to do it. Disregard the Question.

For anyone curious, i am trying to find the Century Code to a (or any) Year to calculate the Day of the Week at any given time in a Time System (which also requires Month Code, Year Code, Leap Year Code and a specified mday - all of which had been dealt with).

What i did was divide the year by 100 and use trunc() to get the Century Code.