leading zero's being stripped
My string is being trimmed.
I have tried STRING and STRING7 and in both the leading and end space are being removed. I need to keep them, any suggestions
STRING7 xx:=' '+'2'+' '+'3'+'4'+' ';
Output(xx);
Output(' 2 34 ');
OUTPUT is :
2 34
2 34
In another process, I am creating a file and despraying it. Here I tried to add the NOTRIM but it is still trimmed.
OutputJorudanLogical := IF(DoSort,OUTPUT(GSECSorted,,Outpath,CSV(NOTRIM,HEADING(Joru ...
I have tried STRING and STRING7 and in both the leading and end space are being removed. I need to keep them, any suggestions
STRING7 xx:=' '+'2'+' '+'3'+'4'+' ';
Output(xx);
Output(' 2 34 ');
OUTPUT is :
2 34
2 34
In another process, I am creating a file and despraying it. Here I tried to add the NOTRIM but it is still trimmed.
OutputJorudanLogical := IF(DoSort,OUTPUT(GSECSorted,,Outpath,CSV(NOTRIM,HEADING(Joru ...
- Attachments
-
leadingzero.png
- (17.63 KiB) Not downloaded yet
- jtaylor178
- Posts: 8
- Joined: Mon Oct 07, 2019 5:57 pm
jtaylor178,
This appears to be a cosmetic issue only in the ECL Watch results page.
In my testing, the results of these two queries are correctly displayed in the ECL IDE, but leading zeroes are missing in the ECL Watch display. IOW, the actual result value is correct but the display seems to automatically strip the leading spaces. This is probably an artifact of the difference between the way web pages and Windows programs display data.
Please submit a JIRA ticket for this issue.
HTH,
Richard
This appears to be a cosmetic issue only in the ECL Watch results page.
In my testing, the results of these two queries are correctly displayed in the ECL IDE, but leading zeroes are missing in the ECL Watch display. IOW, the actual result value is correct but the display seems to automatically strip the leading spaces. This is probably an artifact of the difference between the way web pages and Windows programs display data.
Please submit a JIRA ticket for this issue.
HTH,
Richard
- rtaylor
- Community Advisory Board Member
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
your are correct sorry. Found a macro some of my lower level code was calling and it did a trim. My BAD.
thanks
thanks
- jtaylor178
- Posts: 8
- Joined: Mon Oct 07, 2019 5:57 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest