Module system.utils.StringUtilities

Functions

buildQueryString (base, args)
capitalizeFirst (str)
compareIgnoreCase (str1, str2)
compareVersions (v1, v2)
endsWith (str, endStr)
equalsIgnoreCase (str1, str2)
fromUnicode (text)
initialism (str, length)
interpolate (str, parameters)
iterateMatches (str, pattern) Iterates over all matches of a pattern within a string, similar to string.gmatch, but also returns the index of each encountered match as the first return value.
leftPad (str, length, character, abbrev)
parseQueryString (queryString)
rightPad (str, length, character, abbrev)
split (str, delimiter)
startsWith (str, startStr)
titleCase (str)
toUnicode (text, forceCopy)


Functions

buildQueryString (base, args)

Parameters:

  • base
  • args
capitalizeFirst (str)

Parameters:

  • str
compareIgnoreCase (str1, str2)

Parameters:

  • str1
  • str2
compareVersions (v1, v2)

Parameters:

  • v1
  • v2
endsWith (str, endStr)

Parameters:

  • str
  • endStr
equalsIgnoreCase (str1, str2)

Parameters:

  • str1
  • str2
fromUnicode (text)

Parameters:

  • text
initialism (str, length)

Parameters:

  • str
  • length
interpolate (str, parameters)

Parameters:

  • str
  • parameters
iterateMatches (str, pattern)
Iterates over all matches of a pattern within a string, similar to string.gmatch, but also returns the index of each encountered match as the first return value.

Parameters:

  • str string
  • pattern string

Returns:

    fun():integer,string,...
leftPad (str, length, character, abbrev)

Parameters:

  • str
  • length
  • character
  • abbrev
parseQueryString (queryString)

Parameters:

  • queryString
rightPad (str, length, character, abbrev)

Parameters:

  • str
  • length
  • character
  • abbrev
split (str, delimiter)

Parameters:

  • str
  • delimiter
startsWith (str, startStr)

Parameters:

  • str
  • startStr
titleCase (str)

Parameters:

  • str
toUnicode (text, forceCopy)

Parameters:

  • text
  • forceCopy
generated by LDoc 1.4.6