Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Performing substitutions in MySQL

by kgraff (Monk)
on Apr 12, 2005 at 14:00 UTC ( [id://447001]=note: print w/replies, xml ) Need Help??


in reply to Performing substitutions in MySQL

MySQL has a bunch of string manipulation functions for example:

REPLACE(str,from_str,to_str)

Returns the string str with all occurrences of the string
from_str replaced by the string to_str. 

To be able to play around with syntax, make a new column to hold the altered values, then when you get the results you want, delete the original column and rename the new one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found