tsbase
    Preparing search index...

    Class Strings

    Index

    Properties

    Empty: "" = ''
    Space: " " = ' '

    Methods

    • Returns the camel cased version of the given string NOTE: For multi word strings that are not separated by spaces, this function will merely lowercase the first character

      Parameters

      • string: string

      Returns string

    • Returns true if the given string is null, empty, or consists purely of whitespace

      Parameters

      • string: undefined | null | string

      Returns boolean

    • Returns a version of the given string minus new line characters and whitespace characters between tags

      Parameters

      • string: string

      Returns string

    • Returns the pascal cased version of the given string NOTE: For multi word strings that are not separated by spaces, this function will merely uppercase the first character

      Parameters

      • string: string

      Returns string

    • Returns a "slugified" version of the given string Replaces white space with dashes "-", removes non-alphanumeric characters, and lowercases

      Parameters

      • string: string

      Returns string