cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

toLower on a list of strings

nawar_alwesh
Node Clone

Hi

 

I would like to know how to apply toLower to a list of strings?

Thanks

1 ACCEPTED SOLUTION

Cobra
Ninja
Ninja

Hello @nawar_alwesh 🙂

WITH ["String1", "STRING2", "StrING3"] AS elements 
RETURN [element IN elements | toLower(element)] AS elements

Regards,
Cobra

View solution in original post

2 REPLIES 2

Cobra
Ninja
Ninja

Hello @nawar_alwesh 🙂

WITH ["String1", "STRING2", "StrING3"] AS elements 
RETURN [element IN elements | toLower(element)] AS elements

Regards,
Cobra

nawar_alwesh
Node Clone

Hi Cobra

Thank you so much that worked perfectly  😊 👍