File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
indexOf() of String
Joined: Mar 09, 2006
Mar 16, 2006 09:31:00
why the method of
, int indexOf(int ch), takes in an argument of type int? Why not the type char?
author and iconoclast
Joined: Jul 08, 2003
Mar 16, 2006 09:48:00
My guess: a historical mistake. Similar routines in the C language standard library take int arguments.
[Jess in Action]
I agree. Here's the link:
subject: indexOf() of String
Highlight the search field in a text area -----HELP required URGENT
Sun String IndexOf method API Question
Highlight text in a a JTextPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015