#150 closed defect (invalid)
Conversion from Stringcollection to String adds a new line
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
The conversion from StringCollection to String adds a bogus new line.
col := 'testing' asStringCollection. col asString.
The result is :
'testing '
Expected result is:
'testing'
Change History (1)
comment:1 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version 0, edited 7 years ago by (next)
Note:
See TracTickets
for help on using tickets.
This behavior is correct based on the source code (see the below example). The issue lies somewhere else - will open separate ticket for that.
To have Stringcollection correctly converted to string without the last CR you have to use different method for that
asStringWithoutFinalCR
.To have the correct result for the code above
Which correctly produces result:
testing
.