$New_Text:=replace string($Source;"Segment";"")
$Location:=Position("Seg";$New_Text)


On Fri, 27 Oct 2017 20:07:18 +0100, Peter Mew via 4D_Tech wrote:
> Hi
> If I have a document, that has both the word "seg" and the word "segment",
> is there a way I can find the positions of just the word "seg"
> I can look at the character following "seg" to see if its an "m", but I
> wondered if there was a more direct route.
> thanks
> -pm
> **********************************************************************
> 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]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
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]
**********************************************************************

Reply via email to