
abockover
Deleted
Jan 22, 2001, 12:07 PM
Post #1 of 2
(1090 views)
|
Truncating Variable Values
|
Can't Post
|
|
How can I truncate a variable value? Say I have the variable $url the value to $url = "http://bobs_house.somelamewebpagehostingsite.com/~bob/joe/cat/jon/21541c.html"; I only want the first 25 characters of $url, after the 25th character, add "..." and remove characters 26 and up Thanks, Aaron
|