Expand description

This module contains a different functions which are used by the Grid.

You should use it if you want to comply with how Grid works.

Functions

Calculates a number of lines.
Returns a list of tabs (\t) in a string..
The function cuts the string to a specific width.
The function cuts the string to a specific width.
Splits the string by lines.
Replaces tabs in a string with a given width of spaces.
The function splits a string in the position and returns a exact number of bytes before the position and in case of a split in an unicode grapheme a width of a character which was tried to be splited in.
Get string at
Trims a string.
Returns a string width.
Returns a max string width of a line.
Returns a max per line string width with correction to tab width.
Returns a string width with correction to tab width.