Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have source like this
record
11
1122
112233
11223344
i want output like
record
1
12
123
1234
hello,
you routine must be inside class
sorry i have zero knowledge in java can u clarify with screenshot
in talend
see routine.jpg
-> code
-> routines
--> "create new "
name it whatever you want
in my case is "test"
inside class "test"
paste the function that @shong as made available to you_:
see routine2.jpg
you can use your function in a tjavarow .
example:
if data source is file , and you want to use the function in 3 cloumns of input data source:
see routine3.jpg
the ouptut will be the value of input data transformed by the function.
Thanks for ur reply...its working
thanks for ur neat explanation
i dont have knowledge on regular expressions bro