How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format

Поиск
Список
Период
Сортировка
Искать

How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format

От:
"Dinesh Pandey" <dpandey@secf.com>
Дата:

How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format, because while storing \f treats data in strange way.

 

Example: ‘This is sample data \n \root\files.txt, \root\text.txt’

 

Sol: One way replaces \ with \\

 

Thanks

Dinesh

FAQ