Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to convert string to charSequence ??

807605Jul 12 2007 — edited Jul 12 2007
i have code like

String tdTargettext = tdTerms[j][1].getText();

if(targetSegment.contains(tdTargettext.subSequence(0,tdTargettext.length())))
{
}

I want to use string into contains method which accepts only charsequence
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2007
Added on Jul 12 2007
4 comments
6,937 views