Methods of class String

Method : charAt()

Method : indexOf()

Method : substring()

Method : trim()

Note: trim() will not remove space with in a string.

Method : replace()

Method : length()

Methods : startsWith() and endsWith()

Method Chaining

Last updated

Was this helpful?