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:
PIXO support (1997)
Append command (2000)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Did this just get cheaper ? (2003)
WC2.0 Memory Requirements (1997)
Wanted: G5 apple xserve (2007)
Duplicate Cart ID (2001)
[WebDNA] ListFiles question (2012)
how do we turn off staticpages page creation? (2003)
Email (2000)
quantity limit (1998)
[WebDNA] SOAP support (2014)
Mac Lockup Problems (1998)
Limiting user access to .tmpl files (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
Robert Minor duplicate mail (1997)
WebCat2 Append problem (B14Macacgi) (1997)
Cart Number Propagation (1997)
[shownext] help (2002)