toTitle returns the input string but where each word is capitalised
toTitle takes no parameters
num = "hello/world" log num.toTitle() // Hello/World
Last updated 1 year ago