The length function returns the length of the string argument.
length(STRING)
say length("Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch") -- Returns 58