@alextheman/utility - v4.3.5
    Preparing search index...

    Function stringListToArray

    • Converts a stringly-typed list to a proper array.

      Parameters

      • stringList: string

        The stringly-typed list to convert.

      • options: StringListToArrayOptions = {}

        The options to apply to the conversion.

        Options to apply to the conversion of a string list to an array.

        • Optionalseparator?: string

          What each item in the list is separated by.

        • OptionaltrimWhitespace?: boolean

          An option to trim any extra whitespace.

      Returns string[]

      A new array with each item being an item from the given list.