CCBRONET
asked on
iReport using textpad
Hai,
We have created a VO (variable object) in java and trying to display it in iReport, which opens in Textpad. It is a single String parameter. While displaying, some of the lines are beginning and ending with double quotes (".....") in the textpad, though we have not set it anywhere. In java it is printing proper, where as in iReport, this ("") problem is occurring in some lines...Need your help to rectify this. So that all the lines displays without (""). Tried using replace(), but of no use. Attached is the file for your reference.Thanks.
sampleData.txt
We have created a VO (variable object) in java and trying to display it in iReport, which opens in Textpad. It is a single String parameter. While displaying, some of the lines are beginning and ending with double quotes (".....") in the textpad, though we have not set it anywhere. In java it is printing proper, where as in iReport, this ("") problem is occurring in some lines...Need your help to rectify this. So that all the lines displays without (""). Tried using replace(), but of no use. Attached is the file for your reference.Thanks.
sampleData.txt
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
wow...As you said, I replaced all comma(,)s and it is working fine now.Thanks a lot.
ASKER
Hi,
As per our current requirement, we need to generate the text file without double quotes("), even if comma(,) is present. We cannot replace comma(,) since we require it in some places. Is there any other option that we can try?
As per our current requirement, we need to generate the text file without double quotes("), even if comma(,) is present. We cannot replace comma(,) since we require it in some places. Is there any other option that we can try?
ASKER