/
Split Transformation

Split Transformation

The SplitTransformation can split text (strings) based on any character or value e.g. take the original file name and split underline or dash to then use the output in a JoinByTransformation and concatenate the filename parts with a space.  

Input: "picturepark-pim-dam-platform.pdf"

SplitTransformation: 

  • separators: "-", "_" , "."

  • keepEmpty: null

  • trim: null

Output: picturepark pim dam platform pdf

Input: "title that is written into the title field" 

SplitTransformation: 

  • separators: " "

  • keepEmpty: null

  • trim: yes

  • followed by a JoinByTransformation: join by "-"

Output: title-that-is-written-into-the-title-field (a slug you can use for publishing online)

Specific Definitions

Property

Value

kind

SplitTransformation

separators

Separators to use, supports variables, an array of strings including escape sequences or null to split on any white space character.

keepEmpty

Keeps empty items. Empty items will be returned as empty strings.

trim

Trims each entry for punctuation and white space.

Take Title and Split by Space to Get Multiple Terms

"transformationGroups": [ { "kind": "TransformationGroup", "inputs": [ "basicInformation.title.x-default" ], "transformations": [ { "kind": "SplitTransformation", "separators": " ", "trim": true } ], "storeIn": "slugOutput" } ]

Related content

Split Transformation
Split Transformation
More like this
Split Transformation
Split Transformation
More like this
Display Pattern: Title and EXIF Values in Download File Name
Display Pattern: Title and EXIF Values in Download File Name
More like this
Display Pattern: Replace Extension and Underlines from File Name
Display Pattern: Replace Extension and Underlines from File Name
More like this
Display Pattern: SEO Friendly Title
Display Pattern: SEO Friendly Title
More like this
Filename parsing for various lists
Filename parsing for various lists
More like this