06-06-2017, 01:31 PM
In the example which follows I cannot understand why the 3 first lines in file .txt are sorted at the end of the IStringMap list. Any advice will be much appreciated.
Function tempf05
Function tempf05
Alphabetical sort in ISTringMap array
|
06-06-2017, 01:31 PM
In the example which follows I cannot understand why the 3 first lines in file .txt are sorted at the end of the IStringMap list. Any advice will be much appreciated.
Function tempf05
06-06-2017, 01:52 PM
06-06-2017, 04:02 PM
Dear Gintaras, thank you for your invaluable advice, as always !
It seems that the input .txt file contains some rubbish characters in its beginning. In routine "OpenISMFile" which reads this file I changed "str s.getfile(fPath)" to str s.getfile(fPath 3) and everything worked perfectly. However, I hesitate to use this workaround as a matter of principle, since there could be cases that I could use useful characters. Could I use a "ltrim" statement on string "s" to eliminate this rubbish ? Thanks for your advice, in advance.
06-06-2017, 05:36 PM
06-06-2017, 05:56 PM
str s
s.LoadUnicodeFile("path") |
« Next Oldest | Next Newest »
|