How to split the given string based on the input given.
for example input is ABC-123-789-ASERF(Whatever it may be i want the separated string)
I want the output as the
ABC
123
789
ASERF
How to split the given string based on the input given.
for example input is ABC-123-789-ASERF(Whatever it may be i want the separated string)
I want the output as the
ABC
123
789
ASERF
Hi Sathiamoorthy
you can get the ‘-’ character position by using the code strpos
Position := STRPOS(String, SubString)
copy the string using code COPYSTR
NewString := COPYSTR(String, Position [, Length])
Apply some logic to split the text value
Did you try to google it with “Split String in navision”?
Thanks Akhilesh for your Reply
Yes , I tried in Google.Now I got the solution for it.
Thanks Mohana for your response.
can you share the solution…it can help someone in future…
7558.code.bmp (47.8 KB)