Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find n-th occurrence of delimiter in string
#3
Macro Macro2607
Code:
Copy      Help
str s="Description;A;100;;;Y;Help;;;400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"

ICsv x._create; x.Separator=";"
x.FromString(s)
int i
for i 0 x.ColumnCount
,out x.Cell(0 i)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)