Skip to main content


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 20:55 Go to next message
ziad noufi is currently offline ziad noufiFriend
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 22:49 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
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: Sat Apr 20 00:09:16 GMT 2024

Powered by FUDForum. Page generated in 0.03312 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top