[Solved] Limit number of letters in string php |
Hi All,
I would like to know if any one knows on codeigniter the best method to limit the number of letters showing in my string Let's say my implode(' ', $name), then out puts some_test_image_sample.jpg but if I only want it to show max of 6 letters some_te.jpg What would be best way PHP Code: $data['images'][] = array(
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Limit number of letters in string php - by wolfgang1983 - 10-06-2015, 10:09 PM
RE: Limit number of letters in string php - by pdthinh - 10-06-2015, 11:34 PM
RE: Limit number of letters in string php - by wolfgang1983 - 10-06-2015, 11:56 PM
RE: [Solved] Limit number of letters in string php - by mwhitney - 10-07-2015, 09:12 AM
RE: [Solved] Limit number of letters in string php - by wolfgang1983 - 10-07-2015, 06:30 PM
|