Archived Forum Post

Index of archived forum posts

Question:

CkStringArray Feature Idea

Apr 19 '16 at 10:13

Hi,

couldn't it be a good idea for a simple function in the CkStringArray which can be named: SplitAndAppendCsvLine (Parameter charsourceline, chardelimeters) ? It differs from the Split because of the CSV idea with the delimiters. E.g. You have a delimiter ";" and a field has a ";" inside the string then the normal SplitAndAppend won't work as thought because the field with the ";" is surrounded by ".

Regards Chris


Answer

Thanks Chris. Yes, it's certainly a good idea. Internally, Chilkat has a number of different split-and-append functions which could be exposed. It should be a no-brainer to expose some of them in CkStringArray..


Answer

Thanks a lot for your answer. Maybe I find this feature in the future and others can use it too.