split /\s+/, "Ch re pa ha\n"why the output is (Ch, re, pa, ha) without \n in ha?
How do you choose best company for android app development?
Amyrivers - Oct 17 2017 01:24 AM
Include a specific error, task, problem, or question in your title
Kriss - Sep 27 2017 03:42 AM
Why password_verify Not Passing The Verification ?
uniqueideaman - Sep 20 2017 05:48 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Odd thing in Perl
Posted 08 October 2010 - 06:35 AM
Posted 08 October 2010 - 04:17 PM
All new problems require investigation, and so if errors are problems, try to learn as much as you can and report back.
Posted 08 October 2010 - 04:19 PM
The C programming language provides the escape sequences '\n' (newline) and '\r' (carriage return). However, these are not required to be equivalent to the ASCII LF and CR control characters. The C standard only guarantees two things:
2. When writing a file in text mode, '\n' is transparently translated to the native newline sequence used by the system, which may be longer than one character. When reading in text mode, the native newline sequence is translated back to '\n'. In binary mode no translation is performed, and the internal representation produced by '\n' is output directly.
- Each of these escape sequences maps to a unique implementation-defined number that can be stored in a single char value.
Newline - Wikipedia, the free encyclopedia
Posted 12 October 2010 - 12:11 PM
i really forget that \n is also a whitespace character.
Posted 11 May 2015 - 10:19 PM
Interesting language and some features are excellent and easy to use.