What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Replacing a Word

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24413
interpreted = N
texte = > This is tough, since Webcat has no true string manipulation tools. Assuming there is no > more than one occurance of [image] in any given field, this should work: > > I assume your database is named database.db, the field it is to be written to is called > field, and your string is currently stored in a textvariable called > [text]variable[/text] >This is what I got in my db, I have two fields RECID and NEWSBODY, both the fields are combined and I am losing the rest of the text. There will be only one incidence of [image] in the text string.RECID NEWSBODY 94267653718298 here is my actual code: [text show=f]appended=yes[/text] [showif [INBody]^[raw][image][/raw]] [append db=tempnews.db]RECID=[PVRecordid] &NEWSBODY=[middle startafter=&endbefore=[raw][image][/raw]][text]INBody[/text][/middle] [middle startafter=&endbefore=[raw][image][/raw]][text]INBody[/text][/middle] [middle startafter=[raw][image][/raw]&endbefore=][text]INBody[/text][/middle] [/append] [text show=f]appended=yes[/text] [/showif] [showif [text]appended[/text]=no] [append db=tempnews.db]field=[text]INBody[/text][/append] [/showif]----0---- I had to change only one line, instead [text]variable[/text] I used [variable] i.e.,[INBody]Thanks for the help, I am getting closer to acheiving what I want to acheive with your help, Can you tell me what is wrong in my code or what other approach should I take?anup ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Replacing a Word (Anup Setty 1999)
  2. Re: Replacing a Word (Brian Boegershausen 1999)
  3. Replacing a Word (Anup Setty 1999)
  4. Re: Replacing a Word (Anup Setty 1999)
  5. Re: Replacing a Word (Rob Marquardt 1999)
  6. Re: Replacing a Word (Anup Setty 1999)
  7. Re: Replacing a Word (Derrick Puckett 1999)
  8. Re: Replacing a Word (Derrick Puckett 1999)
  9. Re: Replacing a Word (Jesse Williams Proudman 1999)
  10. Re: Replacing a Word (Derrick Puckett 1999)
  11. Replacing a Word (Anup Setty 1999)
> This is tough, since Webcat has no true string manipulation tools. Assuming there is no > more than one occurance of [image] in any given field, this should work: > > I assume your database is named database.db, the field it is to be written to is called > field, and your string is currently stored in a textvariable called > [text]variable[/text] >This is what I got in my db, I have two fields RECID and NEWSBODY, both the fields are combined and I am losing the rest of the text. There will be only one incidence of [image] in the text string.RECID NEWSBODY 94267653718298 here is my actual code: [text show=f]appended=yes[/text] [showif [INBody]^[raw][image][/raw]] [append db=tempnews.db]RECID=[PVRecordid] &NEWSBODY=[middle startafter=&endbefore=[raw][image][/raw]][text]INBody[/text][/middle] [middle startafter=&endbefore=[raw][image][/raw]][text]INBody[/text][/middle] [middle startafter=[raw][image][/raw]&endbefore=][text]INBody[/text][/middle] [/append] [text show=f]appended=yes[/text] [/showif] [showif [text]appended[/text]=no] [append db=tempnews.db]field=[text]INBody[/text][/append] [/showif]----0---- I had to change only one line, instead [text]variable[/text] I used [variable] i.e.,[INBody]Thanks for the help, I am getting closer to acheiving what I want to acheive with your help, Can you tell me what is wrong in my code or what other approach should I take?anup ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Anup Setty

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

pc (1997) WebCat2: Items xx to xx shown, etc. (1997) [] Boxes in Safari (2004) Error Lob.db records error message not name (1997) WebCat2: Items xx to xx shown, etc. (1997) determining plug-ins? (1998) unable to launch acgi in WebCat (1997) Can't Search field (1998) [WebDNA] Email time bug? YES, it's a bug! (2011) multiple search commands (1997) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) Bug Report, maybe (1997) Mac 2.1b2 speed (1997) OFF TOPIC - sendmail problem (2003) Variables (1999) More! on [ShowCart] and GET vs. POST (1997) Help! WebCat2 bug (1997) [OT] Mac OSX hardware test software (2004) numfound=0 for a search after going into the SSL (2003) sendmail tag when with in comment tags. (2000)