I've just started using Office Scripts in Excel but can't find the right function to do a simple substring operation. The code below isn't working for me but I'd like it to just return the first 3 characters "ABC".
let bigString = "ABCDEFG"
console.log(bigString.substring(0,3))