Skip to Content
Former Member
Jul 28, 2017 at 08:54 PM

PI Mapping : Create extra node for text after 65 char


Hi Experts,

I am working on one of the interface were I need to cut the incoming text into 65 Char and send it to target Node , If the text is more than 65 Char I need create the another node for rest of the characters in text or up to 65char again if its more than 65 char and this will repeat every 65 char in text.

And for every node I have to add sequencing starting from 1.

Target result :

Text ---->Node (65 char ) 1 aaaaaaaaaaa

Node (65 char ) 2 bbbbbbbbbbb
Node (65 char ) 3 ccccccccccccc


Really appreciate if their is any UDF that will help in achieving this requirement.

Thanks in advance.