Re: Re: setting itemdel

2011-08-05 Thread Alain Farmer
To: metacard@lists.runrev.com Sent: Sunday, May 8, 2011 1:14:19 PM Subject: RE: Re: setting itemdel A regex would certainly be better. As it requires a degree of coding proficiency that was not evident when the question was initially raised, I provided a solution to suit. Would you like to give us

RE: Re: setting itemdel

2011-05-08 Thread Alain Farmer
Best solution for this would be a GREP pattern. :) Example: .*([0-9]+).* PS: use metacard's replaceText syntax. Al replace (Size: 100ml; ) with 100 in fld Product But you have different 'size' values. This removes the non-numeric characters...   set the itemDel to TAB   repeat

RE: Re: setting itemdel

2011-05-08 Thread FlexibleLearning
A regex would certainly be better. As it requires a degree of coding proficiency that was not evident when the question was initially raised, I provided a solution to suit. Would you like to give us your matchtext solution rather than a copied generic? Hugh Senior FLCo Alain Farmer wrote:

RE: Re: setting itemdel

2011-05-07 Thread FlexibleLearning
Eva replace (Size: 100ml; ) with 100 in fld Product But you have different 'size' values. This removes the non-numeric characters... set the itemDel to TAB repeat with n=1 to num of lines of fld Product replace (Size: with in item 2 of line n of fld Product replace ml;) with