Jump to content

[SOLVED] Chop off everything > 70 characters from string.. Rtrim? Forgot function. noob


edwardtilbury

Recommended Posts

I'm trying to remember how to chop off everything that is over 70 characters in a variable... I'm trying to make my xml file compatible with google base.. and my descriptions cannot be over 70 characters.. there's a function that does this.. I  just can't remember what is it.. I know in visual basic It's something like that.

 

Thanks!

 

(I'm a php noob, so forgive me if this is totally obvious, I looked, I didn't see it, or a clear example of how to accomplish this.) :)

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.