Jump to content

Limit size of URL (string)


ryanschefke

Recommended Posts

Hello,

 

Is there a way to limit the size of a string returned from a select statement? For example, it is a long URL but I only want to display the first 50 characters. The way I am using the select statement in a particular section of code doesn't allow for any post processing so I need to format the string inside the select statement.

 

Thank you,

Ryan

Link to comment
https://forums.phpfreaks.com/topic/137866-limit-size-of-url-string/
Share on other sites

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.