Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Split text into 4 characters each

$
0
0

Hi, I have a requirement that requires a long string to be split into 4 characters each. Any idea how i can achieve this?

Basically the high level description of the problem is..

Source File:

S/NoValue

1112233445566

212345678901234567890

311123223344456780001112

I would want to split the value column by 4 characters:

S/NoValue1 Value2Value3 Value4Value5 Value6

1112233445566

212345678 901234567890

3111222333444567800011112

Problem now also that the longest i have is about 10,000 text letters and i will need to split them as well. There is not separator within the value column. Therefore, the number of "Value" columns can shoot up depending on the length of the text.

Anybody has any idea please? 

Thank you.




Viewing all articles
Browse latest Browse all 24688

Trending Articles