Returns a string, where leading and/or trailing blanks or a
number of Character have been removed.
Direction can be left, right, or
both and indicates from which direction blanks are to be
removed. The function strip/1 is equivalent to
strip(String, both).

For example:

> string:strip("...Hello.....", both, $.).
"Hello"

left(String, Number) -> Leftleft(String, Number, Character) -> Left

Types:

String = Left = string()

Number = integer() >= 0

Character = char()

Returns the String with the length adjusted in
accordance with Number. The left margin is
fixed. If the length(String) < Number,
String is padded with blanks or Characters.

Some of the general string functions may seem to overlap each
other. The reason for this is that this string package is the
combination of two earlier packages and all the functions of
both packages have been retained.