code: final static public char[] lastSegment(char[] array, char separator)
  	{
  		int pos = lastIndexOf(separator, array);
  		if (pos < 0)
  		{
  			return array;
  		}
  		return subarray(array, pos + 1, array.length);
  	}
docs: Answers the last portion of a name given a separator. <br>
  <br>
  For example,
  
  <pre>
  lastSegment(&quot;java.lang.Object&quot;.toCharArray(),'.') --&gt; Object
  </pre>
  
  @param array
  the array
  @param separator
  the given separator
  @return the last portion of a name given a separator
  @throws NullPointerException
  if array is null