I want to split my first name and the last name in different rows.
For example-
Input- Vibhor Agarwal
After clicking on button, the output must be-
Output- Vibhor
Agarwal
Please help me with the OML so that I can go through that.
Hello Vibhor,
Please refer the below post for the solution.
https://www.outsystems.com/forums/discussion/46791/string-split-including-empty-space/
https://www.outsystems.com/forums/discussion/66997/how-to-display-the-string-split-list/
https://www.outsystems.com/forums/discussion/33343/string-split/
Thanks,
Sachin
Hi Vibhor,Please find the attached OML.Hope this helps you.
Hi Vibhor,
You need to split the string, there is a action "String_Split" available inside "text' extension. You can use that action to split your string with (" ") as delimiters, it will return you list of value.
I cannot find the text extension can you please help me on this?
You will have to take a reference using manage dependencies.
Hi Vibhor
Adding to earlier post, it seems you are using a reactive web. I would recommend you to use JavaScript code to achieve this. Please find the below oml, I tried this with JavaScript.
Hello Sachin,
It is only for the static input. How can we create it as a dynamic input.
You can check the above OML, in which I have attached the logic for dynamic input.
It is just an example, you can pass string through an input variable and make it dynamic.
Thanks for all of the valuable inputs and answers. I will be working on these solutions.
Thanks.
Hi @vibhor Agarwal ,
In this post you got solution from other community member , you can those people to solution.Why you marked your one line statement as solution.
Please refer the below link:
Thanks
Ayush