Ask Your Question

How do I convert a field value to lower/upper case?

asked 2017-11-10 15:37:38 -0600

shelv gravatar image

I have a field that I need to convert to either lower or upper case, whats the easiest way to do so?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-11-10 15:55:37 -0600

shelv gravatar image

updated 2017-11-12 21:37:52 -0600

metadaddy gravatar image

Got it: str:toLower()/toUpper()

edit flag offensive delete link more

answered 2018-04-10 16:17:14 -0600

todd gravatar image

I wasn't able to get the field renamer to work with str:toLower/toUpper. I did find a suggestion to use Jython Processor (or equivalent in alternative language processor)

for record in records:
    for key in record.value.keys():
      record.value[key.lower()] = record.value[key]
      del record.value[key]

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-10 15:37:38 -0600

Seen: 338 times

Last updated: Apr 10 '18