on 07-30-2010 11:57 AM
Hi All,
I need to print only up to 2 lines on script from long text. if more text exits, then i need to display ....
Example:
text text text text text text text text text text text text text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text text text text text text text text text text text text ......
Please give solution
regards,
Kiran
use FM READ_TEXT to read the text.
you will get an internal table with the text, line by line.
transfer first 2 lines to char-variables (one for each line).
print your variables.
have a thrid char-variable which you set = '...' when more than 2 lines exist.
after printing of your 2 first variables now print third one. ready.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.