How would I get a number of character to remain in a scalar from the right side?
( like in vb dim = right(1, dim))
Printable View
How would I get a number of character to remain in a scalar from the right side?
( like in vb dim = right(1, dim))
There ought to be a substr function to do what you want.
Code:$dim = substr($dim, length($dim)-1, 1);