The Artima Developer Community
Sponsored Link

Java Answers Forum
error with if(charAt(index) = '-')

2 replies on 1 page. Most recent reply: Oct 7, 2002 5:41 PM by Cshah

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Cshah

Posts: 16
Nickname: tkc204
Registered: Oct, 2002

error with if(charAt(index) = '-') Posted: Oct 6, 2002 5:39 PM
Reply to this message Reply
Advertisement
why do i get an error when i ry to use if(charAt(index) = '-')?

and what should i do?


siddhartha

Posts: 15
Nickname: saddysan
Registered: Jul, 2002

Re: error with if(charAt(index) = '-') Posted: Oct 6, 2002 8:34 PM
Reply to this message Reply
instead of if(charAt(index) = '-')
you should be writing
if(charAt(index) == '-')

if you want i will elaborate the difference

saddysans

Cshah

Posts: 16
Nickname: tkc204
Registered: Oct, 2002

Re: error with if(charAt(index) = '-') Posted: Oct 7, 2002 5:41 PM
Reply to this message Reply
um i did it and i get error, it says cannot resolve symbol.

Flat View: This topic has 2 replies on 1 page
Topic: movies database help .. please Previous Topic   Next Topic Topic: res.sendRedirect()

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use