Skip to content

Latest commit

 

History

History

spacers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Spacers

Spacers are characters that have the Unicode Derived Core Property White_Space.

Examples:

  • U+0020 Space (SP)

  • U+0009 Tab (TAB) aka Horizontal Tab (HT)

  • U+000A Line Feed (LF) aka New Line (NL) aka End Of Line (EOL)

  • U+000D Carriage Return (CR)

USV supports spacers around content and markers, because this greatly helps typical display uses.

Line Feed character

USV with no spacers looks like this:

a␟b␟␞c␟d␟␞

If you want to see each record on its own line, then you can use newline characters:

a␟b␟␞
c␟d␟␞

If you want to see each unit on its own line, then you can use newline characters:

a␟
b␟
␞
c␟
d␟
␞

If you want to see each token on its own line, then you can use newline characters:

a
␟
b
␟
␞
c
␟
d
␟
␞

Space character

USV with no spacers looks like this:

a␟bbb␟ccccc␟

If you want to see a column with left alignment, then you can use newline characters and space characters:

a    ␟
bbb  ␟
ccccc␟

If you want to see a column with right alignment, then you can use newline characters and space characters:

    a␟
  bbb␟
ccccc␟

If you want to see a column with center alignment, then you can use newline characters and space characters:

  a  ␟
 bbb ␟
ccccc␟