Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » String.indexof()(String.indexof("StringToFindInString") can't recognize space)
String.indexof() [message #988933] Mon, 03 December 2012 15:55 Go to next message
ziad noufi is currently offline ziad noufi
Messages: 1
Registered: December 2012
Junior Member
hi,
i read string from excel (Axl)
the string includes spaces " " .
string.indexof(excelCellContent);// includes spaces
the indexof method don't recognize the string because of the spaces.
if i write same string but not from excel, the indexof can recognize.
string.indexof("string to find")
did anybody see this before
how can i solve this problem, or do work around
thanks
ziad
Re: String.indexof() [message #989609 is a reply to message #988933] Thu, 06 December 2012 17:49 Go to previous message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 979
Registered: July 2009
Senior Member
Sounds more like a question for Axl experts, than a JDT question.
Only thing I could think of: maybe some of the characters only look alike but are different bits?
Previous Topic:JSF auto complete
Next Topic:Running 'NewLibraryPluginCreationOperation' in a headless application
Goto Forum:
  


Current Time: Mon Jul 28 14:41:54 EDT 2014

Powered by FUDForum. Page generated in 0.02405 seconds