--- Patrick Bierans <[EMAIL PROTECTED]> wrote:

> > the only character I can't put into the line to be removed or replaced is 
> > ' it makes an error
> 
> either write "'"
> or escape it with a backslash: '\''

I don't think the second example will work.  Single quotes are strong quotes.  
As such, they don't
respect the backslash escape.  These would work:

"'"
"\""

because the doublequote is a weak quote and evaluates variables and special 
characters.

James
_____


James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Spring Semester January-June 2006.  Two new class topics.


Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to