package starling.utils {
/**
 *  A utility class with methods related to the String class. 
 * @externs
 */
public class StringUtil {
	/**
	 *  Formats a String in .Net-style, with curly braces ("{0}"). Does not support any
	 *      *  number formatting options yet. 
	 */
	public static function format(format:String, args:Array):String { return null; }
	/**
	 *  Replaces a string's "master string" — the string it was built from —
	 *      *  with a single character to save memory. Find more information about this AS3 oddity
	 *      *  <a href="http://jacksondunstan.com/articles/2260">here</a>.
	 *      *
	 *      *  @param  string The String to clean
	 *      *  @return The input string, but with a master string only one character larger than it.
	 *      *  @author Jackson Dunstan, JacksonDunstan.com
	 *      
	 */
	public static function clean(string:String):String { return null; }
	/**
	 *  Removes all leading white-space and control characters from the given String.
	 *      *
	 *      *  <p>Beware: this method does not make a proper Unicode white-space check,
	 *      *  but simply trims all character codes of '0x20' or below.</p>
	 *      
	 */
	public static function trimStart(string:String):String { return null; }
	/**
	 *  Removes all trailing white-space and control characters from the given String.
	 *      *
	 *      *  <p>Beware: this method does not make a proper Unicode white-space check,
	 *      *  but simply trims all character codes of '0x20' or below.</p>
	 *      
	 */
	public static function trimEnd(string:String):String { return null; }
	/**
	 *  Removes all leading and trailing white-space and control characters from the given
	 *      *  String.
	 *      *
	 *      *  <p>Beware: this method does not make a proper Unicode white-space check,
	 *      *  but simply trims all character codes of '0x20' or below.</p>
	 *      
	 */
	public static function trim(string:String):String { return null; }
	/**
	 *  Returns <code>true</code> if <code>value</code> equals
	 *      *  <code>true, TRUE, True, or 1</code>.
	 *      
	 */
	public static function parseBoolean(value:String):Boolean { return false; }
}
}
