Question
Flex Technology Inc
IN
Last activity: 26 Dec 2017 13:36 EST
Split the String
Hi Team,
Would like to split the string: "001 ECO_1128_ECO537196"?
Note: Delimit Function, either space or tab.
I have tried to split it using "Split 2 Parameters & 3 Parameters" but doesn't workout....
It showing the result as "String[] Array".
Please!
***Updated by moderator: Lochan to update Categories***
-
Likes (1)
vijaya bhaskarreddy -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Tata Consultancy Services
US
Hi Asvinth,
When you split a string, the output will be an array.
Say for example: String1_String2 is input string, if you want to split by "_". Output Array will have outputArrayProxy[0], outputArrayProxy[1].
You need to extract proxy to get this array by clicking on the output blue dot of the split function.
Once you get the arrayProxy, You can pass arguments to it to get the required string. Pass integers like 0,1 in this case.
Thanks.
Pegasystems Inc.
IN
Flex Technology Inc
IN
Hi Durga,
Nope, I have tried to using only Split Method & attached Screen Shot for your reference.
Please look into it & need your good support.
And also, suggest an alternate solution.
Thanks!
-
Sathya Chellaiya Hira Reddy Vivek Jammula Giuseppe Capillupo Gnanashankar Shanmugam and 5 More
Flex Technology Inc
IN
Team,
Could you please help me?
Thanks!
Pegasystems Inc.
IN
Hello Asvinths,
I believe that you are using Robotic Automation. Can you please add correct (Robotic Automation) tags to your post so that correct team can help you on this.
Check if this post can give you any pointers: https://docs-previous.pega.com/pega-rpa/how-can-i-get-elements-array
Thanks!
Accepted Solution
Tata Consultancy Services
US
Hi Asvinth,
When you split a string, the output will be an array.
Say for example: String1_String2 is input string, if you want to split by "_". Output Array will have outputArrayProxy[0], outputArrayProxy[1].
You need to extract proxy to get this array by clicking on the output blue dot of the split function.
Once you get the arrayProxy, You can pass arguments to it to get the required string. Pass integers like 0,1 in this case.
Thanks.
Flex Technology Inc
IN
Hi Naga,
Thanks Buddy!
Merry X'Mas & Happy New Year!
Cheers!
Tata Consultancy Services
US
Hi Asvinth,
Wish you the same !! Happy new year.