Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
for posterity :) My new parsing routine (followed by new substring routine) //Project Method: utl_Text_Fast_Parse //$1 - pointer - to text to parse //$2 - longint (optional) - number of times to find character(s) (default is one) //$3 - text (optional) - text delimter to find (default

Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
I'm not working with arrays (being passed) but a single text variable. x_Parse:=ax_File_Contents{$Current_File_Text_Block} then x_Parse is worked on/with So a method call looks like this: utl_text_Fast_Parse(->x_Parse;$Delimeter_Count;$Delimeter) BUT if I were working with the array directly,

Re: v12+ parsing text [summary]

2016-11-17 Thread Alan Chan
Isn't it fun and rewarding:-) Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >My new code imports the same 50 meg file (compiled) in just over 1 >minute. ** 4D Internet Users Group (4D iNUG) FAQ:

Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
I am using a text array (only 1 element) The array is created on import of the text from the disk file and is NOT resized (except to clear) after this. The element(s) of the array are filled via Receive Packet(Doc;Array_Element;1,500,000,000) Original Issue - I tired to import a large (50meg)