Latest news:

New android application Islamic Video has been released. its a free islamic video application for android smartphone. Download now!

Remove apostrophe in string

Have a look at

I believe that it will work OK if you escape the ' character thus: '
You can easily create a Javascript function to replace each instance of ' by '.

str = str.replace(/'/g, "\'");

Tags : javascript,

Views : 3043

Recent Posts


Popular Tags


Subscribe Us

Follow Us