Forum Moderators: coopster

Message Too Old, No Replies

PHP convert a txt string all to lowercase question

newbie alert :)

         

Duke_of_Url

8:01 am on Jul 15, 2003 (gmt 0)

10+ Year Member



I did a quick site search but didn't pull back anything to do with this (apologies if I missed it)!

I'm tinkering with php for the first time and I need to know if theres a built-in function out there I can use to take a text string (mix of upper and lowercase chars), and convert it so thats its all in lowercase.

Can anyone advise? I had a look on php.net but didnt see anything obvious :)

thanks
DoU

RonPK

8:26 am on Jul 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



strtolower()

Duke_of_Url

8:28 am on Jul 15, 2003 (gmt 0)

10+ Year Member



thanks, was having a go with strtolower but it was bombing for some reason - got it working ok now

thanks!
DoU

Glacai

8:28 am on Jul 15, 2003 (gmt 0)

10+ Year Member



Hi DoU, strtolower.

Oh well, looks like I'm too slow!