General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] [quote=siria] PS: Noticed that if one of the arguments for "and/or" is not a variable, but some action like "index(...)", then additional brackets () are needed around both arguments left and right, even if the other one is just a variable. [/quote] Yes, another good find for you. This becomes complex very quickly. Look at what I had to do to get the number of ()s to be correct. [code] $_ASring = "hijkl"; ## |-------------------------------------------------------------------------| ## |----------------------| |----| |------------------| |---| ## |------------| |--------| while ( ( index($_ASring, "j") ) != ( -1 ) and ( length($_ASring) ) > ( 2 ) ) { alert($_ASring, "String is"); $_ASring = substr($_ASring, 0, length($_ASring) -1); } [/code][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development