Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 4
Impact
~5k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jan
17
comment Line Feed or Carriage Return - What to use?
@Lèsemajesté reply d above comment^
Jan
17
comment Line Feed or Carriage Return - What to use?
@AKTed I just need that for javascript alert box. And i suppose we can't write the "\n" (newline) character to write a newline. It would be good to just give the unicode version of the newline character. But i didn't find any. So.. d question arises to either use the line feed character (\u000A) or the carriage return character (\u000D) to get a new line. But which one is preferable or better & why?
Jan
16
comment Line Feed or Carriage Return - What to use?
@AKTed could you explain why i should prefer newline (\n) more than line feed (\r) ?