anjasing
(Anjali)
1
I’ve input as below mentioned and these are SAP systems…but I want to make all these into a list of array which ever is best to work with…
Input: VD1, QO4, TO2, VQ1, QO1, TO1
Output should be a array/list of:
VD1
QO4
TO2
VQ1
QO1
TO1
So that I can further work on each system.
ppr
(Peter)
2

Along with trimming:

YourString.Split({","c}, StringSplitOptions.RemoveEmptyEntries).select(Function (x) x.trim).tolist
1 Like
Hello @anjasing
Here we go
1 Like
anjasing
(Anjali)
4
Thank you so much…for my process array would be better…
ppr
(Peter)
6
in such case we just change from toList to toArray:
2 Likes
system
(system)
Closed
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.