• Home
  • Java Tutorial
  • Language
  • Data Type
  • Operators
  • Statement Control
  • Class Definition
  • Development
  • Reflection
  • Regular Expressions
  • Collections
  • Thread
  • File
  • Generics
  • I18N
  • Swing
  • Swing Event
  • 2D Graphics
  • SWT
  • SWT 2D Graphics
  • Network
  • Database
  • Hibernate
  • JPA
  • JSP
  • JSTL
  • Servlet
  • Web Services SOA
  • EJB3
  • Spring
  • PDF
  • Email
  • J2ME
  • J2EE Application
  • XML
  • Design Pattern
  • Log
  • Security
  • Apache Common
  • Ant
  • JUnit

Extracting String Characters « Data Type « Java Tutorial






  1. Java Tutorial
  2. Data Type
  3. Extracting String Characters
2.25.Extracting String Characters
2.25.1.Searching Strings for Characters
2.25.2.Finding the last occurrence of 'a' in the String variable text: the method lastIndexOf()
2.25.3.To search forwards from a given position: startIndex
2.25.4.Searching for Substrings
2.25.5.Last index of
2.25.6.Up to the end of the string
2.25.7.Beyond the last character of the substring
2.25.8.String Characters

java2s.com  | © Demo Source and Support. All rights reserved.