Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107810
interpreted = N
texte = The pipe symbol in this hack doesn't really mean anything special except =that it is a unique (and unlikely) character. In other words, it can be =any character really. The choice here is confusing because the pipe in =the [if] [then] [else] context is a documented logical "OR".- chrisOn Dec 15, 2011, at 14:41, Govinda wrote:>> The "^" character is a "contains" character.>>=20>> So in:>> |5|6|12|^|[orderstatus]|>>=20>> if [orderstatus]=3D6>>=20>> Then the string "|5|6|12|" contains "|6|".. which>> turns into a true match.>>=20>> The pipe can be any character.>=20> ...that is... any character that you know you will not find in the =string you are checking. I.e. choose a delimiter that you KNOW will be =a delimiter=20>=20> -G---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
The pipe symbol in this hack doesn't really mean anything special except =that it is a unique (and unlikely) character. In other words, it can be =any character really. The choice here is confusing because the pipe in =the [if] [then] [else] context is a documented logical "OR".- chrisOn Dec 15, 2011, at 14:41, Govinda wrote:>> The "^" character is a "contains" character.>>=20>> So in:>> |5|6|12|^|[orderstatus]|>>=20>> if [orderstatus]=3D6>>=20>> Then the string "|5|6|12|" contains "|6|".. which>> turns into a true match.>>=20>> The pipe can be any character.>=20> ...that is... any character that you know you will not find in the =string you are checking. I.e. choose a delimiter that you KNOW will be =a delimiter=20>=20> -G---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
christophe.billiottet@webdna.us
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:
Smith Micro - no competition (2000)
[WriteFile] problems (1997)
WebCatalog for guestbook ? (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000)
[shownext] help (2002)
Error: Can't open order file. (2005)
Editing Users.db (1997)
Pull Down Search (2000)
Webcatalog server support (1997)
Size limit for tmpl editor ? (1997)
[Q] Novice's question (1997)
Re:2nd WebCatalog2 Feature Request (1996)
unique ascending numbers (2003)
Cookie setting (2003)
WebCat on 10.0.4 - iTools 6.0 (2001)
remotely add + sign (1997)
Hello??? (1997)
WC Database Format (1997)
[WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016)