on 10-18-2013 5:32 PM
source | Target |
ze1edpt2 0...99999
tdline 0..1 Notes 0..10000 | ||||||
ID 0..1 | ||||||
Text |
I am getting the text data from Idoc in tdline field. In TDLINE
terminating each segment with 70 characters and it is going to next segment. But I need to get each terms and conditions in separate paragraph in to text field. The terms and conditions start with (1),(2) or (A) ,(B) etc. I need double line space after end of each of this T&C.
Thanks for your help .
Hi Mahesh,
This can be done with a UDF.
Read TDLINE values as queue, concat each record of array and form T&C as string. Then you can add new line character and double space characters using java functions.
Thanks,
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for looking into it. Could you please help me on this udf.
String concattext = "";
for (i= 0;i<a.length;i++) {
concattext = concattext + ""+ a[i];
result.addValue(concattext);
With the above I am getting all Terms and conditions one text.
I have a requriement for after each T&C (as attached example) double line space .I am not sure how to break with doule line after each T&C
example
Standard Terms and conditons:
(1) This is terms and conditions 1st we
need to implement ; (This text is coming from TDLine more than one segment )
(2) This is terms and conditions 2nd we
need to implement ;This text is coming from TDLine more than one segment )
(3) some text here:
(A) This is another terms and conditions;
(B) This is another terms and conditions:
(4) This is terms and conditions 4th we
need to implement ;This text is coming from TDLine more than one segment )
Mahesh,
Try and explain your requirement clearly with an example.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.