A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Java in General
has contain method for String?
Joined: Nov 10, 2002
Nov 19, 2002 21:03:00
contain charater 'a' or 'b' for example?
just want to check with all of you about, does JKD provide contain method for Sting,
Or I need to do coding for this.
Joined: Mar 06, 2001
Nov 19, 2002 21:33:00
will return the index of the first position of the character, or -1 if it was not found.
Joined: Oct 17, 2001
Nov 20, 2002 08:13:00
Check out the
JDK 1.4 API
for more details.
And remember the
is immutable, so if you're doing a lot of String manipulation, the
class is much more efficient and better suited.
I agree. Here's the link:
subject: has contain method for String?
ArrayList.get - cast to String problem
is there a any validation API in java
How to change Date Format
Object & String
invoking a string
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014