Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find an element of an ARRAY(str) - Find a line in string
#1
I wonder about the best method to scan an ARRAY(str) for a certain string-element. Equivalent : search a multiline string for a particular line. I used the following technique : Multiline string s to IStringMap variable m (m.AddList) and then m.Get(str value). Any other suggestion is mostly welcome. Many thanks in advance.
#2
I would create a function that uses for(i 0 a.len) if(a[i]...


Forum Jump:


Users browsing this thread: 1 Guest(s)