Java String Shorten shortenPart(String currentPart)

Here you can find the source of shortenPart(String currentPart)

Description

shorten Part

License

Open Source License

Declaration

private static char shortenPart(String currentPart) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static char shortenPart(String currentPart) {
        return currentPart.charAt(0);
    }/*from   w w  w.j  a  v  a  2s. com*/
}

Related

  1. shortenName(final String fullName)
  2. shortenName(final String name, final int toBeAdded)
  3. shortenName(String name)
  4. shortenOperationName(String operation)
  5. shortenPackageName(String name, boolean remove)
  6. shortenPath(final String path)
  7. shortenPrefix(String prefix)
  8. shortenRemoteRef(final String origin, final String ref)
  9. shortenString(String orig, int charsToRemove)