Ooooops. Bad copy and paste... textTest:=Replace string($textTest;"e";"";1)
Not... characterCount:=Replace string($textTest;"e";"";1) John Baughman (808) 262-0328 > On May 4, 2017, at 6:58 AM, John Baughman via 4D_Tech <[email protected]> > wrote: > > Quick and dirty ideas… > > $text:="Now is the time for all good men to come to the aid of their country" > ARRAY TEXT($aWords;0) > GET TEXT KEYWORDS($text;$aWords) > $wordCount:=Count in array($aWords;"The") > > COPY ARRAY($text;$textTest) > $characterCount:=0 > While (Position("e";$textTest)>0) > $characterCount:=$count+1 > $characterCount:=Replace string($textTest;"e";"";1) > End while > > > John > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

