• CCS [format split="-" part=1] lets me split a string at a specified character, and return the nth part (eg. parts of a date as described in the thread “Changing the date format“).

    1. Can I split a string at the nth specified character, counting from the end? ie. The “last” part?
    2. Can I split a string at the nth character? ie. the 2nd character, the last character? eg. From “abcdef”, split “bcdef”, or just “ef”
    • This topic was modified 3 years, 8 months ago by iantresman.
Viewing 1 replies (of 1 total)
  • 1. No
    2. No

    The only way to split a string at the nth-character is [field my_field lenght=X]

    This does not work from the end.

    • This reply was modified 3 years, 8 months ago by polarracing.
Viewing 1 replies (of 1 total)
  • The topic ‘Using the CCS format “split” attribute’ is closed to new replies.