SunnysideUp\ShareThis\Services_JSON::reduce_string
reduce a string by removing leading and trailing comments and whitespace
Signature
public function reduce_string(string
$str )
Parameters
$str
— string- string value to strip of comments and whitespace
Returns
- string
- string value stripped of comments and whitespace