Closed parmentf closed 9 years ago
For the moment, if you want to extract the month from a string "20150310", you have to mess withtruncateandshift`.
"20150310", you have to mess with
and
{ "truncate": 6, "shift": 4 }
Maybe a substring: [offset, length] action would be more user friendly:
substring: [offset, length]
{ "substring": [4,2] }
89d9943233648bba53412e1c66d1d8b066429cc3 made it. Will be available from v3.4.0+
For the moment, if you want to extract the month from a string
"20150310", you have to mess with
truncateand
shift`.Maybe a
substring: [offset, length]
action would be more user friendly: