ok, no worries, thank you.
--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> No offense man, but the info I gave you is the best i've got, lets try again
>
> If you have the string
>
> " *A person's a person, no matter how small.* "
> And you run
>
> Replace ("*A person's a person, no matter how small.* "," * person's a
> person* ","elephant is loopy")
>
> You'll get A elephant is loopy, no matter how small...
>
>
> you can put it in a loop as such
>
> FOR EACH Part:
> Assign Part.PartDesc = REPLACE(Part.PartDesc, "STUFF I DONT LIKE","THING I
> LOVE")
> END.
>
> Hope this helps!
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *checkout my new blog <http://www.usdoingstuff.com> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
>
>
> On Fri, Feb 3, 2012 at 8:47 AM, michael.hutcheson@... <
> michael.hutcheson@...> wrote:
>
> > **
> >
> >
> > We have part descriptions that are like the following:
> >
> > SWLR blah blah blah
> >
> > blah blah SWLR blah blah
> >
> > blah blah SWLR
> >
> > Would this still ensure I keep all the blah blah's?
> >
> > How do I incorporate this into my code?
> >
> > Thanks again.
> >
> >
> > --- In vantage@yahoogroups.com, John Driggers <waffqle@> wrote:
> > >
> > > Naw captain.
> > > REPLACE ( source-string , from-string , to-string ).
> > >
> > > All three of those arguments need to be replaced with the actual data.
> > > Stick it in the middle of your loop and you should be ok.
> > >
> > >
> > > On Fri, Feb 3, 2012 at 8:34 AM, michael.hutcheson@ <
> > > michael.hutcheson@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Thanks for this.
> > > >
> > > > Do I litterally just use the words source-string? I was planning on
> > > > running this on-mass so the descriptions will be all be slightly
> > different.
> > > >
> > > >
> > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > >
> > > > > REPLACE ( source-string , from-string , to-string )
> > > > >
> > > > > *Jose C Gomez*
> > > > > *Software Engineer*
> > > > > *
> > > > > *
> > > > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > > > *
> > > > > *T: 904.469.1524 mobile
> > > > > E: jose@
> > > >
> > > > > http://www.josecgomez.com
> > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > http://www.facebook.com/josegomez>
> > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > http://www.twitter.com/joc85>
> > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > <http://www.josecgomez.com/feed/>
> > > > > <http://www.usdoingstuff.com>
> > > > >
> > > > > *Quis custodiet ipsos custodes?*
> > > > >
> > > > >
> > > > >
> > > > > On Fri, Feb 3, 2012 at 8:16 AM, michael.hutcheson@ <
> > > > > michael.hutcheson@> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Hey folks,
> > > > > >
> > > > > > Is it possible to perform a find and replace BPM? What I want to
> > > > achive is
> > > > > > only replace specific words in the parts descriptions, and leave
> > the
> > > > rest
> > > > > > of the description intact.
> > > > > >
> > > > > > I was thinking of using a BPM with 4GL code:
> > > > > >
> > > > > > for each Part where ( Part.PartDescription MATCHES
> > '*SWLR*')no-lock:
> > > > > > Run lib\UpdateTableBuffer.p(input BUFFER Part:HANDLE,
> > > > > > 'PartDescription','Swivel- Long radius').
> > > > > >
> > > > > > However, this will overright the entire description, I only want to
> > > > > > replace 'SWLR' with 'Swivel- Long radius' - any ideas?
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Michael
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > *John Driggers*
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@*
> >
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>