Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Strings/Inflector/inflectToSpacedUpper

Index

Functions

inflectToHuman

  • inflectToHuman(string: string, intelligentSplitting?: boolean): string
  • Alias of toSpacedUpper

    Parameters

    • string: string

      The string to inflect

    • Optional intelligentSplitting: boolean

      Uses intelligent splitting for edge cases if set to true. @see inflectToArray() for details.

    Returns string

    string

inflectToSpacedUpper

  • inflectToSpacedUpper(string: string, intelligentSplitting?: boolean): string
  • Converts a "Given string" to "Given String" or "another.String-you wouldWant" to "Another String You Would Want".

    Parameters

    • string: string

      The string to inflect

    • Optional intelligentSplitting: boolean

      Uses intelligent splitting for edge cases if set to true. @see inflectToArray() for details.

    Returns string

Generated using TypeDoc