Skip to main content
deleted 2 characters in body
Source Link
nsgulliver
  • 12.7k
  • 23
  • 46
  • 64

you should add back slash \ something like this

`line[4]line[4] = line[4].replace("'", "\\'");`; 

because one left slash \ is escape character

you should add back slash \ something like this

`line[4] = line[4].replace("'", "\\'");` 

because one left slash \ is escape character

you should add back slash \ something like this

line[4] = line[4].replace("'", "\\'"); 

because one left slash \ is escape character

Source Link
nsgulliver
  • 12.7k
  • 23
  • 46
  • 64

you should add back slash \ something like this

`line[4] = line[4].replace("'", "\\'");` 

because one left slash \ is escape character