List of usage examples for org.apache.commons.lang WordUtils initials
public static String initials(String str)
Extracts the initial letters from each word in the String.
The first letter of the string and all first letters after whitespace are returned as a new string.
From source file:org.eclipse.osee.define.blam.operation.SystemSubsystemReport.java
private String getShortSheetName(String subSysName, String sufix) { String shortenSubSysName = subSysName.contains(" ") ? WordUtils.initials(subSysName) : subSysName; return shortenSubSysName + " " + sufix; }