com.sigh.utils.strings
Class FindLastChar

java.lang.Object
  extended by com.sigh.utils.strings.FindLastChar

public class FindLastChar
extends java.lang.Object

Author:
Software Industry & General Hardware

Constructor Summary
FindLastChar()
           
 
Method Summary
static int getLastPositionOfCharSequence(java.lang.String theSource, java.lang.String theString2Find, boolean caseSensitive)
          getLastPositionOfCharSequence ---
Find the index of the very last position withing string
theSource of the string theString2Find.
Optionally make the search case sensitive.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindLastChar

public FindLastChar()
Method Detail

getLastPositionOfCharSequence

public static int getLastPositionOfCharSequence(java.lang.String theSource,
                                                java.lang.String theString2Find,
                                                boolean caseSensitive)
getLastPositionOfCharSequence ---
Find the index of the very last position withing string
theSource of the string theString2Find.
Optionally make the search case sensitive.

Parameters:
theSource -
theString2Find -
caseSensitive -
Returns:
The index of the last position if theString2Find found in theSource.
Otherwise return -1 as an error.