Function shorten
Shortens a string at a specified position.
Parameters summary
string | 
		$str | 
		The string to shorten. | 
integer | 
		$length = 32 | 
		The desired length of the string. | 
float | 
		$position = .75 | 
		Position at which characters can be removed. | 
boolean | 
		& $shortened = null | 
		<code>true</code> if the string was shortened, <code>false</code> otherwise. | 
Return value summary
			string
		 | 
		string |