Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Vijay_K_N
Contributor
Contributor

split a String

Hi ,

i'm getting record that record have so many characters (don't know how many characters i get and don't know about delimiter)if it will have space or some delimiter what ever it may be it will split by 5 characters.

 

ex:  iamvijaykumarihavesomanycharacterstosplit

   output:  iamvi

                jayku

                marih.......................l

                

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi
Do you want to split the string into equal-length substrings? Refer to the Java code in this page on stack overflow.
https://stackoverflow.com/questions/3760152/split-string-to-equal-length-substrings-in-java
In Talend Job, write these code on a tJavaRow or create a routine function and call it on tJavaRow.

Regards
Shong

View solution in original post

1 Reply
Anonymous
Not applicable

Hi
Do you want to split the string into equal-length substrings? Refer to the Java code in this page on stack overflow.
https://stackoverflow.com/questions/3760152/split-string-to-equal-length-substrings-in-java
In Talend Job, write these code on a tJavaRow or create a routine function and call it on tJavaRow.

Regards
Shong