DisplayPackage allows one to print strings in a nice manner, including highlighting substrings.
- bright: List String -> List String
bright(l)sets the font property of a list of strings,
l, to bold-face type.
- center: (List String, Integer, String) -> List String
center(l, i, s)takes a list of strings
l, and centers them within a list of strings which is
icharacters long, in which the remaining spaces are filled with strings composed of as many repetitions as possible of the last string parameter
- center: (String, Integer, String) -> String
center(s, i, s)takes the first string
s, and centers it within a string of length
i, in which the other elements of the string are composed of as many replications as possible of the second indicated string,
swhich must have a length greater than that of an empty string.
- copies: (Integer, String) -> String
copies(i, s)will take a string
sand create a new string composed of
- newLine: () -> String
newLine()sends a new line command to output.
- sayLength: List String -> Integer
sayLength(l)returns the length of a list of strings
las an integer.