Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: has contain method for String?
Object & String
invoking a string
ArrayList.get - cast to String problem
is there a any validation API in java
How to change Date Format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013