TheConeHead
Programmer
how can I replace for a variable. I am using:
string.replace(/'/g,"''"); to replace a one single quote with two single quotes... how can I have a var in the / / instead of a '?
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)
string.replace(/'/g,"''"); to replace a one single quote with two single quotes... how can I have a var in the / / instead of a '?
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)