String leftcontracted

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Schema

String processing leftcontracted.png

Operation

  • Do a string contraction (at the left).
  • If the input string is longer than the given desiredSize, contract it and add ellipsis (...) at the left. This is useful to generate table-data values where the most useful information is at the right of the string (such as filenames). If the input string is shorter, it is send to the output unchanged.

Revisions

This block has been in the Standard Library since 1.0.



Back to Standard Library.
Previous: String [ Formatting ]
Next: String [ RightContracted ]


Meine Werkzeuge