src/org/kocakosm/pitaya/util/Strings.java
public static String strip(String str, int n)
	{
		return stripRight(stripLeft(str, n), n);
	}
public static String strip(String str, int n)
	{
		return stripRight(stripLeft(str, n), n);
	}
Returns the new {@code String} obtained by stripping the first and
last {@code n} characters from the given one.

@param str the {@code String} to be stripped.
@param n the number of characters to strip.

@return the stripped {@code String}.

@throws NullPointerException if {@code str} is {@code null}.
@throws IllegalArgumentException if {@code n} is negative.