|
Re: adding to the middle of a string better organized: msg#00305windows.autoit.user
YOU SPLIT THE STRING IN HALF Just like larry did for my email filter Love ya mannnnnnn Rick --- Rob Taylor <rtay1138@xxxxxxxxxxx> wrote: > I hope this helps. It's not a cure all, but can give > you an idea. You pretty > much need to know a keyword to search for and go > from there. > I am almost positive that Larry will have a simpler > solution. ;o) > ------------------------------------------------ > SetBatchLines,150 > SetEnv,n,1 > > ;script stuff here. > ;This variable below I would assume be read from a > line and not set. > SetEnv,Info,Please visit > http://KirkhamsEbooks.8m.com for ebooks videos and > software > StringLen,L,Info > ;Find your keyword > IfInString,Info,http,Goto,Find > ;possible script stuff here. > > Find: > Repeat,%L% > ;Find the location of the keyword > StringMid,Output,Info,%n%,4 > IfInString,Output,http,Goto,Insert > EnvAdd,n,1 > EndRepeat > > Insert: > EnvSub,L,%n% > EnvAdd,L,1 > EnvSub,n,1 > StringLeft,LeftString,Info,%n% > StringRight,RightString,Info,%L% > SetEnv,FinalString,%LeftString% <A > HREF="%RightString%">http://KirkhamsEbooks.8m.com</A> > ;Just to see the result > MsgBox,0,Test,%FinalString% > ------------------------------------------------ > > > > ----- Original Message ----- > From: "Sensei J. Richard Kirkham B.Sc" > <tutor2000@xxxxxxxxx> > To: <AutoItList@xxxxxxxxxxxxxxx> > Sent: Sunday, June 15, 2003 11:28 PM > Subject: [AutoIt] adding to the middle of a string > better organized > > > > Since all the garbage I still have probably > confused > > most of you I'll make this question with an > example > > > > let's say I have a string > > > > Please visit http://KirkhamsEbooks.8m.com for > ebooks > > videos and software > > > > Now let's say I don't know what the link is so I > have > > to parse the link to make it a variable > > > > How do I then add > > > > Please visit <A HREF="http://KirkhamsEbooks.8m.com > for > > ebooks videos and > > software">http://KirkhamsEbooks.8m.com</A> > > > > So I can go from text to html > > > > I can parse the link (wrote it didn't try it), but > I > > don't know how to put the parsed link and changes > back > > into the original text string > > > > Rick > > > > > > http://mypage.htmI am a link</A> > > > > ===== > > > http://kirkhamsebooks.tripod.com/RaisingYourChild_in.html > > > http://kirkhamsmartialarts.tripod.com/martialarts_ezine.html > > > http://kirkhamsmartialarts.tripod.com/ebooksvideoscassettes.htm > Obesity in > Children, Anger Management, Internal Energy Strikes, > meditation & More & NOW > Raising Your Child to be More Postive and More > Confident > > http://kirkhamsmartialarts.tripod.com/sellmyebooks > > > http://kirkhamsmartialarts.tripod.com/qualifications > > http://SeriousMartialArtistsOnly.8m.com The Combat > Martial Arts Ezine > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > To unsubscribe from this group, send an email to: > > AutoItList-unsubscribe@xxxxxxxxxxxxxxx > > > > > > > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > To unsubscribe from this group, send an email to: > AutoItList-unsubscribe@xxxxxxxxxxxxxxx > > > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ > > ===== http://kirkhamsebooks.tripod.com/RaisingYourChild_in.html http://kirkhamsmartialarts.tripod.com/martialarts_ezine.html http://kirkhamsmartialarts.tripod.com/ebooksvideoscassettes.htm Obesity in Children, Anger Management, Internal Energy Strikes, meditation & More & NOW Raising Your Child to be More Postive and More Confident http://kirkhamsmartialarts.tripod.com/sellmyebooks http://kirkhamsmartialarts.tripod.com/qualifications http://SeriousMartialArtistsOnly.8m.com The Combat Martial Arts Ezine __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Looking for the latest Free IT White Papers? Visit SearchSecurity.com to access over 500 white papers. Get instant access at SearchSecurity.com Today http://us.click.yahoo.com/ayjvfD/QLNGAA/uitMAA/EGnolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: AutoItList-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: adding to the middle of a string better organized: 00305, Rob Taylor |
|---|---|
| Next by Date: | OT: DNisk98114@xxxxxxx blocked by GMX Spamfilter: 00305, Andre Hebestreit |
| Previous by Thread: | Re: adding to the middle of a string better organizedi: 00305, Rob Taylor |
| Next by Thread: | Re: adding to the middle of a string better organized: 00305, Private Name |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |