View Full Version : PING: MySQL gurus
cartman
02-29-2008, 02:23 PM
My string manipulation fu is weak. I've got a field where the first character of every record is \n, the newline character. I'm trying to remember how to update the table to remove these characters, and I'm drawing blanks. Any help is appreciated.
Antmeister
02-29-2008, 02:28 PM
Try this:
http://www.zimmertech.com/tutorials/php/60/mysql-search-replace-phpmyadmin.php
cartman
02-29-2008, 02:31 PM
Thanks! That did the trick. I kept trying LTRIM and all that jazz, but this way is much simpler.
vBulletin v3.6.0, Copyright ©2000-2026, Jelsoft Enterprises Ltd.