Talk:Strip whitespace from a string/Top and tail: Difference between revisions

From Rosetta Code
Content added Content deleted
(added a new section header. -- ~~~~)
 
(→‎task clarification: added verbage on ''printable characters''. -- ~~~~)
Line 10: Line 10:
<br>... , and other such characters that '''may''' have no corresponding ...
<br>... , and other such characters that '''may''' have no corresponding ...
<br><br>-- [[User:Gerard Schildberger|Gerard Schildberger]] 17:32, 14 September 2012 (UTC)
<br><br>-- [[User:Gerard Schildberger|Gerard Schildberger]] 17:32, 14 September 2012 (UTC)

Also note that the tab character has a printable character (although, in most circumstances,
it's ''converted'' to a blank (or a number of blanks). It's graphic on my computer is &nbsp; '''○''' &nbsp; &nbsp; (a circle).

Also, only three characters don't have a printable characters, '00'x, ''the'' blank, and 'ff'x. Of course, this is very
dependent on the '''code page''' being used. -- [[User:Gerard Schildberger|Gerard Schildberger]] 07:06, 17 December 2012 (UTC)

Revision as of 07:06, 17 December 2012

task clarification

In the sentence:

For the purposes of this task whitespace includes non printable characters such as the space character, the tab character,
and other such characters that have no corresponding graphical representation.



Wouldn't it be better to use:
... , and other such characters that may have no corresponding ...

-- Gerard Schildberger 17:32, 14 September 2012 (UTC)

Also note that the tab character has a printable character (although, in most circumstances, it's converted to a blank (or a number of blanks). It's graphic on my computer is       (a circle).

Also, only three characters don't have a printable characters, '00'x, the blank, and 'ff'x. Of course, this is very dependent on the code page being used. -- Gerard Schildberger 07:06, 17 December 2012 (UTC)