Remove characters from a variable

jsuarez
jsuarez Community Member Posts: 15
I'm trying to remove the last 12 characters from a variable. I know JavaScript's slice method can do this, but I'm not having any luck. Any ideas?