This module provides utility functions for strings

Members

Functions

Returns Functions Description
lib.IsEmptyOrWhitespaceOrNil ( str ) Checks if a string is empty or nil
lib.IsWhitespace ( str ) Returns whether or not text is whitespace
lib.ElipseLimit ( str characterLimit ) Converts text to have a ...
lib.GetRomanNumeral ( Number ) Return's the Roman Numeral version of the number

Functions Descriptions

lib.IsEmptyOrWhitespaceOrNil ( str )

Checks if a string is empty or nil

Parameters

  • str

lib.IsWhitespace ( str )

Returns whether or not text is whitespace

Parameters

  • str

lib.ElipseLimit ( str characterLimit )

Converts text to have a ... after it if it's too long.

Parameters

  • str
  • characterLimit

lib.GetRomanNumeral ( Number )

Return's the Roman Numeral version of the number

Parameters

  • Number: The number to convert