Jump to content

Getting rid of double quotes


Heero

Recommended Posts

Hey all,

 

This seems to simple, but I can't seem to figure out how to do it.

 

Say for sample I have this code:

 

$string = "\"Dr\""

 

Now if I echoed that I would get "Dr".  Now say that I want that exact same variable set to that value, but now I want it to print just Dr.  Is there a function I can apply which will remove the doubles quotes?

 

 

Link to comment
https://forums.phpfreaks.com/topic/49252-getting-rid-of-double-quotes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.