A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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?
invoking a string
Object & String
How to change Date Format
ArrayList.get - cast to String problem
is there a any validation API in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015