#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    3
    Rep Power
    0
    Hi there,

    I am new to php and am having problems with the most simple of ereg_replaces..

    all I want to do is to convert the a string from mixed upper/lowercase to all lowercase..

    I just cant seem to get it to work...

    Thanks
    M
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Why use regex? Just use strtolower(). Faster and easier. Check out the string functions in the manual.

Similar Threads

  1. 2 small perl sci problems....
    By Nik in forum Perl Programming
    Replies: 1
    Last Post: February 8th, 2004, 04:09 PM
  2. problems deleting files using perl
    By ffenics in forum Perl Programming
    Replies: 4
    Last Post: January 29th, 2004, 01:14 PM
  3. Perl env problems
    By seanwoodlock in forum Perl Programming
    Replies: 0
    Last Post: January 13th, 2004, 08:57 AM
  4. Problems running external program through Perl
    By Duncs in forum Perl Programming
    Replies: 1
    Last Post: January 5th, 2004, 01:45 PM

IMN logo majestic logo threadwatch logo seochat tools logo