Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

does java recognize on a txt file

No, "
" is only recognized in java in a char or string literal, in a text 
file it is just considered a backslash and then n. If you would like to 
get java to recognize the 
, tokenize the contents of the file and then 
go through replacing the 
 with a "
" in a string form. 
 
PREVIOUS NEXT
Tagged: #java #recognize #txt #file
ADD COMMENT
Topic
Name
9+2 =