<root>
<file schema='101' />
<macros >
<macro >
<flowline name='Search_Split_String' description='Search AND Split String  V2
OUTPUTs After Match  including and excluding Match 
Also Output Before Match Excluding Match ( Case not sensitve )' >
<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
<param name='String_INPUT' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='100' />
</param>
<param name='Search_Str_1_Btwn' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='40' />
</param>
<param name='Search_Str_2_Btwn' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='40' />
</param>
<local name='Search_Loop' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
<local name='GLB_Byt_1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
<local name='GLB_Byt_2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
<command class_type='comment' title='' comment='SSS_Out_Str_BM outputs between the 2 search strings' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
<command class_type='calculation' title='Search_STR 2 Lenght' textshow='0' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='.GLB_Byt_1 = Length$ (.Search_Str_2_Btwn)' />
<exp exp='.GLB_Byt_2 = 0' />
<exp exp='SSS_Match_Found = 0' />
</command>
<command class_type='decision' title='IF Between' textshow='0' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.GLB_Byt_1 &gt; 0' swap='0' >
<flowline >
<command class_type='calculation' title='Loop x2' textshow='0' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='.GLB_Byt_1 = 2' />
</command>
</flowline>
<flowline >
<command class_type='calculation' title='Loop x1' textshow='0' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='.GLB_Byt_1 = 1' />
</command>
</flowline>
</command>
<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.GLB_Byt_1 = 0' start='0' >
<flowline >
<command class_type='decision' title='Decision' textshow='0' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.GLB_Byt_2 = 1' swap='0' >
<flowline >
<command class_type='calculation' title='Resetting Vars' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='.String_INPUT = SSS_Out_Str_AM_EM // For search Between' />
<exp exp='SSS_INPUT_Str = .String_INPUT' />
<exp exp='SSS_Search_IN_1 = .Search_Str_2_Btwn' />
<exp exp='Exit = 10' />
<exp exp='SSS_Out_Str_BM = &quot;&quot;' />
<exp exp='SSS_Out_Str_AM_IM = &quot;&quot;' />
<exp exp='SSS_Out_Str_AM_EM = &quot;&quot;' />
<exp exp='//SSS_Temp_Str_1 = &quot;&quot;' />
<exp exp='SSS_Temp_Str_2 = SSS_INPUT_Str // input to temp 2' />
<exp exp='SSS_Str_Count_1 = 0' />
<exp exp='.Search_Loop = Length$ (.String_INPUT)' />
</command>
</flowline>
<flowline >
<command class_type='calculation' title='Resetting  Vars' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='SSS_INPUT_Str = .String_INPUT' />
<exp exp='SSS_Search_IN_1 = .Search_Str_1_Btwn' />
<exp exp='Exit = 10' />
<exp exp='SSS_Out_Str_BM = &quot;&quot;' />
<exp exp='SSS_Out_Str_AM_IM = &quot;&quot;' />
<exp exp='SSS_Out_Str_AM_EM = &quot;&quot;' />
<exp exp='//SSS_Temp_Str_1 = &quot;&quot;' />
<exp exp='SSS_Temp_Str_2 = SSS_INPUT_Str // input to temp 2' />
<exp exp='SSS_Str_Count_1 = 0' />
<exp exp='.Search_Loop = Length$ (.String_INPUT)' />
</command>
</flowline>
</command>
<command class_type='loop' title='Loop' textshow='0' textarea='36,0,511,300' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Exit = 0 OR .Search_Loop = 0' start='0' >
<flowline >
<command class_type='calculation' title='Calculation' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='SSS_Str_Count_1 = Length$ (SSS_Search_IN_1) // Find the langht of the Search String' />
<exp exp='SSS_Temp_Str_1 = Left$ (SSS_Temp_Str_2,SSS_Str_Count_1) // Extruct first Str to Compair' />
<exp exp='Compair_Var = Compare$ (SSS_Temp_Str_1,SSS_Search_IN_1,1)' />
<exp exp='SSS_Str_Count_2 = Length$ (SSS_Temp_Str_2) // TSET' />
</command>
<command class_type='decision' title='IF Match' textshow='0' textarea='36,0,511,300' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compair_Var = 0' swap='0' >
<flowline >
<command class_type='calculation' title='Match Found' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='SSS_Str_Count_3 = SSS_Str_Count_2 - SSS_Str_Count_1 // Extructing out A.M exc match' />
<exp exp='SSS_Out_Str_AM_EM = Right$ (SSS_INPUT_Str,SSS_Str_Count_3) // Extructing out A.M exc match' />
<exp exp='SSS_Out_Str_AM_IM = SSS_Temp_Str_2 // Extructing out A.M INC match' />
<exp exp='SSS_Str_Count_1 = Length$ (SSS_INPUT_Str)' />
<exp exp='SSS_Str_Count_1 = SSS_Str_Count_1 - SSS_Str_Count_2' />
<exp exp='SSS_Out_Str_BM = Left$ (SSS_INPUT_Str,SSS_Str_Count_1)' />
<exp exp='SSS_Match_Found = SSS_Match_Found + 1' />
<exp exp='Exit = 0' />
</command>
</flowline>
<flowline >
<command class_type='calculation' title='Move 1 Char Right ' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='SSS_Str_Count_2 = SSS_Str_Count_2 - 1' />
<exp exp='SSS_Temp_Str_2 = Right$ (SSS_Temp_Str_2,SSS_Str_Count_2)' />
<exp exp='.Search_Loop = .Search_Loop - 1' />
</command>
</flowline>
</command>
</flowline>
</command>
<command class_type='calculation' title='Calculation' textshow='0' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
<exp exp='SSS_Search_IN_1 = &quot;&quot;' />
<exp exp='Exit = 10' />
<exp exp='.GLB_Byt_1 = .GLB_Byt_1 - 1' />
<exp exp='.GLB_Byt_2 = .GLB_Byt_2 + 1' />
<exp exp='' />
</command>
</flowline>
</command>
</flowline>
</macro>
</macros>
<variables >
<variable public='0' >
<def class_type='variable' name='SSS_Temp_Str_2' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Temp_Str_1' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Search_IN_1' type='T8' description='SSS_Search_IN_1' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='40' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Str_Count_3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='Exit' type='s16' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Str_Count_2' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='Compair_Var' type='u8' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Str_Count_1' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Out_Str_AM_IM' type='T8' description='Output STR  After Match including Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Out_Str_BM' type='T8' description='Output Str Before Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_INPUT_Str' type='T8' description='SEARCH_SPLIT_STRING INPUT' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Out_Str_AM_EM' type='T8' description='Uotput STR After Match Excluding Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
<array size='100' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='SSS_Match_Found' type='u8' description='Found Matche = 1' isconst='0' isinit='1' usrinit='0' setinit='0' />
</variable>
</variables>
</root>
