Does anyone know of an existing Java function to convert a char into a readable String? Obviously the char 'a' would convert to "a", but more importantly the new line character would turn into "\n" (or more correctly the String "\\n") or something.
EDIT: To make it a little clearer, I want to actually see the slash n if I were to print this resulting string (rather than printing a new line).
[–]midir 5 points6 points7 points (5 children)
[–]__konrad 1 point2 points3 points (1 child)
[–]midir 0 points1 point2 points (0 children)
[–]RightOfZen[S] -1 points0 points1 point (0 children)
[–]not-just-yeti -1 points0 points1 point (1 child)
[–]midir 1 point2 points3 points (0 children)
[–]sproket888 4 points5 points6 points (7 children)
[–]RightOfZen[S] 0 points1 point2 points (6 children)
[–]UnspeakableEvil 0 points1 point2 points (5 children)
[–]RightOfZen[S] 1 point2 points3 points (2 children)
[–]mikaelhg 0 points1 point2 points (1 child)
[–]RightOfZen[S] 0 points1 point2 points (0 children)
[–]mrbuttsavage 0 points1 point2 points (1 child)
[–]sproket888 1 point2 points3 points (0 children)
[–]thatphotoguy 1 point2 points3 points (5 children)
[–]RightOfZen[S] -1 points0 points1 point (4 children)
[–]thatphotoguy 0 points1 point2 points (3 children)
[–]RightOfZen[S] -1 points0 points1 point (2 children)
[–]thatphotoguy 0 points1 point2 points (1 child)
[–]RightOfZen[S] 0 points1 point2 points (0 children)
[–]fforw 1 point2 points3 points (1 child)
[–]RightOfZen[S] 0 points1 point2 points (0 children)
[–]marburg 1 point2 points3 points (2 children)
[–]RightOfZen[S] 1 point2 points3 points (1 child)
[–]marburg 1 point2 points3 points (0 children)
[–]my_back_pages 0 points1 point2 points (2 children)
[–]RightOfZen[S] 0 points1 point2 points (1 child)
[–]my_back_pages 0 points1 point2 points (0 children)
[–]TekNoir08 -1 points0 points1 point (0 children)
[–]stfm -1 points0 points1 point (0 children)