KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > CharSequence

java.lang
Interface CharSequence

All Known Implementing Classes:
CharBuffer, String, StringBuffer, StringBuilder
See Also:
Top Examples, Source Code, hashCode, equals

char charAt(int index)
See Also:
IndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[516]Merge two strings
By Anonymous on 2005/04/04 10:53:40  Rate
String s1 = ""; 
         for ( int i = 0; i  <  target.length (  ) ; i++ )  
             s1 = s1 + "" +  ( char )  ( target.charAt ( i )  + phrase.charAt ( i )  + i ) ; 
 


int length()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


CharSequence subSequence(int start,
                         int end)
See Also:
IndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags