JS omita a última corda
"somestring0".slice(0, -1)
// "somestring"
foloinfo
"somestring0".slice(0, -1)
// "somestring"