Jump to content

Parsing a single string that has multiple values seperated by delimiter and has a repeating structure for every 14 "fixed length format


vini rajen

Recommended Posts

HI

I have a scenario,I have a field with values in the following format as follows :

12345678 910 1516171819202123 24252627 28 29

1.there is a " " delimiter between the values

2.The structure is repeating for every 14 values of fixed length and should be seperated like the following.

12345678 910

1516171819202123 2425

so that my final soap response has a sturucture

 

 

1

2

3

4

5

6

7

8

9

10

 

 

 

 

 

 

15

16

17

18

19

20

21

22

23

24

25

 

 

 

 

Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...