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]
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: indexOf() of String
Highlight text in a a JTextPane
Highlight the search field in a text area -----HELP required URGENT
Sun String IndexOf method API Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013