I'm importing a CSV file to MySQL database. This can be done using java.mysql
support for forward slash in file path. If user gives the path
c:uploaddatecsvsample.csv
MySQL doesn't support this type of path pattern. I want to search for backslashes in the path and replace them with a forward slash, to give this:
c:/upload/date/csv/sample.csv
How is that done?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…