Jun 25, 2004 #1 YYYYUU Programmer Dec 13, 2002 47 GB I can't change any of the following so I need to escape the comma. Any ideas how to do this? I know for ' it's \'. addComp('T22', 'freddy,asdf bob\'s asdf') function addComp(code,name) { sComps+=code+','+name+','; } Thanks for your help.
I can't change any of the following so I need to escape the comma. Any ideas how to do this? I know for ' it's \'. addComp('T22', 'freddy,asdf bob\'s asdf') function addComp(code,name) { sComps+=code+','+name+','; } Thanks for your help.
Jun 25, 2004 #2 vbkris Programmer Jan 20, 2003 5,994 IN why would u want to escape commas??? there is no need for that in JS... Known is handfull, Unknown is worldfull Upvote 0 Downvote
why would u want to escape commas??? there is no need for that in JS... Known is handfull, Unknown is worldfull
Jun 25, 2004 #3 vbkris Programmer Jan 20, 2003 5,994 IN why would u want to escape commas??? there is no need for that in JS... Known is handfull, Unknown is worldfull Upvote 0 Downvote
why would u want to escape commas??? there is no need for that in JS... Known is handfull, Unknown is worldfull
Jun 25, 2004 #4 tsuji Technical User Jul 25, 2001 10,675 US Hello YYYYUU, If it is remotely related to adsi, it is "\" as well, ie, freddy\,asdf regards - tsuji Upvote 0 Downvote
Jun 25, 2004 Thread starter #5 YYYYUU Programmer Dec 13, 2002 47 GB Trust me I do need to escape this. I'm using xsl. \, doesn't work Upvote 0 Downvote
Jun 25, 2004 #6 vbkris Programmer Jan 20, 2003 5,994 IN try this: sComps+='"'+code+','+name+'"'; since its xls it might work... Known is handfull, Unknown is worldfull Upvote 0 Downvote
try this: sComps+='"'+code+','+name+'"'; since its xls it might work... Known is handfull, Unknown is worldfull