S O M E | B A S I C | M E T H O D S | O F | S t r i n g | I N | J A V A :

  T  R  I  N  G      M  T  H  O  D      in       J    A      A

(1)   How  to  read  String  and  char  ----->>>

     .next();  |   .nextLine();  |   .next().charAt(0)     


(2)   String  mein  se  koi  bhi  character  kaise  nikale                indexing  ki  help  se  ----->>>

      .charAt(index)       



(3)  How  to  read  any  ASCII  value  of  a  Character               from  a  given  String  ----->>>

          .codePointAt(index);   |    .codePointBefore(index);        


(4)  How  to  compare  2 String  ----->>>

      compareTo()           |            equals()           |            equalsIgnoreCase()     




(5)   
How  to  concat  2  or  more  than  2 String  ----->>>


(6)  Find  out if  a  String  contains  a  sequence  of  the           character  
----->>>


(7)  How  to  
Find  length  of   the  String  ----->>>


(8)   What  is  the  use    indexOf("----")    ----->>>


(9) 
How  to  change  any  String  into  in  upper_case               and  lower_case  ----->>>


(10)   subSequence(start , end)
          AND
          substring(start , end) :




 -   S e e    Y o u    A g a i n !!

Comments

Popular posts from this blog

Recursion | GCD | Euclids Algorithm | Lecture 31 | Java & DSA Course

Recursion | Linear Search | Find all indices | Lecture 33 | Java and DSA Course