View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006250 | JEDI Code Library | JclAnsiStrings | public | 2014-02-07 14:38 | 2024-01-02 21:18 |
Reporter | presoft | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Version 2.5 (Subversion repository/Daily zips) | ||||
Target Version | Fixed in Version | ||||
Summary | 0006250: SetDelimitedText fails if input contains one character | ||||
Description | When using TJclAnsiString's CommaText using a single character input, the input is not added to the string list | ||||
Additional Information | Suggested fix (based on rev. 9395), line 951 should read: if (Index = ValueLength) and (LastStart <= ValueLength) then not tested if this negatively affects situations when delimiter is last character in input | ||||
Tags | No tags attached. | ||||
Fixed in GIT commit | d0c0a342785406331b2e169e77951a5e26128471 | ||||
Fixed in SVN revision | |||||
IDE version | All | ||||
|
Do you have a sample showing it? |
|
In our case we use the CommaText property of the TAnsiStringList to set up a list of IDs. In case of only one ID, this will return an empty list, instead of a list with the single ID. For example: When set list.CommaText = '1'; will return an empty list, instead of a list with only '1' |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-07 14:38 | presoft | New Issue | |
2014-02-07 14:38 | presoft | IDE version | => All |
2014-05-28 21:14 | jfudickar | Note Added: 0020990 | |
2014-05-28 21:14 | jfudickar | Status | new => feedback |
2014-05-30 08:27 | presoft | Note Added: 0020992 | |
2014-05-30 08:30 | presoft | Note Edited: 0020992 | |
2014-05-30 08:31 | presoft | Note Edited: 0020992 | |
2024-01-02 21:18 | AHUser | Assigned To | => AHUser |
2024-01-02 21:18 | AHUser | Status | feedback => resolved |
2024-01-02 21:18 | AHUser | Resolution | open => fixed |
2024-01-02 21:18 | AHUser | Fixed in GIT commit | => d0c0a342785406331b2e169e77951a5e26128471 |