-
Notifications
You must be signed in to change notification settings - Fork 0
Processors
ubermanu edited this page Apr 8, 2016
·
3 revisions
processors
are integrated functions that can change values of your data
Set the value of this column to a new one
- set: Hello
Copy a column value
- copy: text
Change content case
- upper_case
- lower_case
- camel_case
Replace a string by another
- replace: ['é', 'e']
Decode HTML entities like
- html_entity_decode
Remove HTML tags like <br>
- strip_tags
Split a string into an array or join an array to a string
Be careful, if your data contains arrays when passed to the Writer, it may cause problems!
- split: '-'
- join: '/'
A set of math functions
- add: 10
- sub: 5.2
- mult: 0.2
- div: 20
- mod: 50
Get array element
- first
- last
Powered by Stratis - 2016