# Help

**URL:** <https://www.ruby-forum.com/t/help/110466>\
**Category:** Rails\
**Created:** [July 26, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/help/110466 "2007-07-26T16:42:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![r0nsync](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@r0nsync](https://www.ruby-forum.com/u/r0nsync)\
**Post date:** [July 26, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/help/110466/1 "2007-07-26T16:42:51Z")

</div>

if ((( chaine[i+14] == “twincards\>false\</twincards”)||(chaine[i+14]  
== “twincards\>true\</twincards”))|| ( chaine[i+14]== “twincards  
xsi:nil=“1”/”))

???

: syntax error, expecting end-of-file

???

---

<div class="post-metadata">

**Author:** ![r0nsync](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@r0nsync](https://www.ruby-forum.com/u/r0nsync)\
**Post date:** [July 26, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/help/110466/2 "2007-07-26T16:44:03Z")

</div>

Tonyrrr T. wrote:

> if (  
> (  
> ( chaine[i+14] == “twincards\>false\</twincards”)  
> ||(chaine[i+14] == “twincards\>true\</twincards”)  
> )  
> || ( chaine[i+14]== “twincards\> xsi:nil=“1”/”)  
> )

> ???
> 
> : syntax error, expecting end-of-file
> 
> ???

---

<div class="post-metadata">

**Author:** ![r0nsync](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@r0nsync](https://www.ruby-forum.com/u/r0nsync)\
**Post date:** [July 26, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/help/110466/3 "2007-07-26T17:09:53Z")

</div>

On Jul 26, 10:44 am, Tonyrrr T. \<rails-mailing-l…@andreas-  
[s.net](http://s.net)\> wrote:

> Tonyrrr T. wrote:
> 
> > if (
> 
> (  
> ( chaine[i+14] == “twincards\>false\</twincards”)  
> ||(chaine[i+14] == “twincards\>true\</twincards”)  
> )  
> || ( chaine[i+14]== “twincards\> xsi:nil=“1”/”)  
> )

Extra bracket after the if ?

---

<div class="post-metadata">

**Author:** ![r0nsync](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@r0nsync](https://www.ruby-forum.com/u/r0nsync)\
**Post date:** [July 26, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/help/110466/4 "2007-07-26T17:18:54Z")

</div>

On Jul 26, 2007, at 10:44 AM, Tonyrrr T. wrote:

> Tonyrrr T. wrote:
> 
> > if (  
> > (  
> > ( chaine[i+14] == “twincards\>false\</twincards”)  
> > ||(chaine[i+14] == “twincards\>true\</twincards”)  
> > )  
> > || ( chaine[i+14]== “twincards\> xsi:nil=“1”/”)  
> > badly nested quotes perhaps?  
> > Try:  
> > “twincards\> xsi:nil="1"/”  
> > or  
> > ‘twincards\> xsi:nil=“1”/’  
> > )
> 
> > ???
> > 
> > : syntax error, expecting end-of-file
> > 
> > ???

Rob B. [http://agileconsultingllc.com](http://agileconsultingllc.com)  
removed\_email\_address@domain.invalid
