Content deleted Content added
→Variants: tidy |
|||
Line 30:
The characters which are considered whitespace varies between programming languages and implementations. For example, C traditionally only counts space, tab, line feed, and carriage return characters, while languages which support [[Unicode]] typically include all Unicode space characters. Some implementations also include [[ASCII]] control codes (non-printing characters) along with whitespace characters.
Java's trim method considers ASCII spaces and control codes as whitespace,
Delphi's Trim function considers characters U+0000 (NULL) through U+0020 (SPACE) to be whitespace.
|