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=siria] [quote=JamesD]This becomes complex very quickly. Look at what I had to do to get the number of ()s to be correct. [code]$_ASring = "hijkl"; ## |-------------------------------------------------------------------------| ## |----------------------|[b][color=red]xxx[/color][/b]|----| |------------------|[b][color=red]xxx[/color][/b]|---| ## |------------| |--------| while ( ( index($_ASring, "j") ) != ( -1 ) and ( length($_ASring) ) > ( 2 ) ) { alert($_ASring, "String is"); $_ASring = substr($_ASring, 0, length($_ASring) -1); } [/code][/quote] Whow, nice picturing :D But can the red breaks really not be omitted?? I meant, only the packets left and right of "and" need extra brackets, but now they are divided yet another time?[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development
English