โ11-25-2023 02:25 PM
Hey, I'm working on a project and I have data pill that brings me "last name first name" and I want to replace the order of them with formula..
Didn't found any solution on workato doc..
Please assist:)
Solved! Go to Solution.
โ11-27-2023 04:16 AM
You can likely do this by splitting the string based on the "space" between the words, But that will only if there are only 2 words.
โ11-27-2023 04:45 AM
Hi @osherachamim, Have you already tried the reverse method?
https://docs.workato.com/developing-connectors/sdk/sdk-reference/ruby_methods.html#reverse
Cheers,
Chris
โ11-27-2023 04:16 AM
You can likely do this by splitting the string based on the "space" between the words, But that will only if there are only 2 words.
โ11-27-2023 04:45 AM
Hi @osherachamim, Have you already tried the reverse method?
https://docs.workato.com/developing-connectors/sdk/sdk-reference/ruby_methods.html#reverse
Cheers,
Chris