As well as using string functions to reformat a string visually, we can use some of these
functions to reformat strings for storage in a database.Although we won’t cover actually
writing to the database until Part II,“Using MySQL,” we will cover formatting strings
for database storage now.
Certain characters are perfectly valid as part of a string but can cause problems, particularly
when inserting data into a database because the database could interpret these
102 Chapter 4 String Manipulation and Regular Expressions
characters as control characters.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment