Dragen Posted May 29, 2007 Share Posted May 29, 2007 Hi, I know there's a function which checks the length of a variable then adds characters to it if it's less than a set amount. I've used it before, but can't remember it now It wasn't anything to do with strlen(), it was just one function. Can anyone help? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/53458-solved-function-which-adds-to-a-string-if-less-than-certain-amount/ Share on other sites More sharing options...
per1os Posted May 29, 2007 Share Posted May 29, 2007 www.php.net/str_pad ??? Quote Link to comment https://forums.phpfreaks.com/topic/53458-solved-function-which-adds-to-a-string-if-less-than-certain-amount/#findComment-264187 Share on other sites More sharing options...
Dragen Posted May 29, 2007 Author Share Posted May 29, 2007 frost I love you! hehe, thanks. I thought I was going to be waiting ages for the right answer. Quote Link to comment https://forums.phpfreaks.com/topic/53458-solved-function-which-adds-to-a-string-if-less-than-certain-amount/#findComment-264189 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.