Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1108

Addition to $initials() or new function

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Scripting
    • None

      soupcan113 writes on the forum:

      Simple request. Can the scripting function
      $initials(text)
      be expanded so that there is a second, optional variable much like $swapprefix()?
      In this case the second variable would choose whether the function returns the first letter of each word
      OR
      the first letter of each word AND the NUMBERS of the text.

      So
      $initials(text,*optional input of 0 or 1 for desired option)

      example:

      album: Some album volume 20
      input: $initials(album,1)
      output: sav20

            Unassigned Unassigned
            freso Freso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package