Hi,
In Perl, the chop() function removes the last character of the string. I'm looking for a function in PHP that does that.
Could you please help me?
I'm getting my data from the database but it's in 4 digits - I only want the last two. Is there a function to do this or do I have to create one that will work. Even then I have no clue.
Thanks!
In Perl, the chop() function removes the last character of the string. I'm looking for a function in PHP that does that.
Could you please help me?
I'm getting my data from the database but it's in 4 digits - I only want the last two. Is there a function to do this or do I have to create one that will work. Even then I have no clue.
Thanks!