Jump to content

Taking a Variable and making the string inside it no longer than a set limit...


spikypunker

Recommended Posts

haha yeah thatd work, but you misunderstand. I need to take a string thats already in the DB and display it on the page, but only the first 15 characters. So i want it to trim the end of if the variable is longer than 15 characters!

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.