humanize
humanize(str) -> str
Attempts to regex match a field name to the Message Substitution Name
for the a given integration component.
## Field mapping with:
## 'Field' of 'sample.value'
## 'Message Substitution Name' of Sample
k = humanize("sample.value")
debug(k)
# will output 'Sample'
Last updated
Was this helpful?