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:
[SearchString] problem with [search] context (1997)
Document Contains No Data! (1997)
email server and webdna (2006)
Excel PMT Calculation (2001)
U&P IIS concept (1998)
wrong input values? (1997)
sort without the or a (1998)
PCS Frames (1997)
WebCommerce: Folder organization ? (1997)
My new discussion forum (2003)
calculate age (2003)
Shopping cart now bad (1997)
carriage returns in data (1997)
Nesting format tags (1997)
[input] [/input] (1997)
2.1b2 was SLOW ... but 2.1b3 is FAST! (1997)
WebCatalog 3.0.8 is on FTP... (2000)
WCS Newbie question (1997)
Trouble with Showif and Search (1998)
My own list archives (2001)