Previous Page
_name_value()

Solar_Json
_reduce_string()

Next Page
_stripvalueslashes()

_reduce_string()

protected string _reduce_string ( string $str )

Reduce a string by removing leading and trailing comments and whitespace.

Parameters

  • (string) $str: string value to strip of comments and whitespace

Returns

  • (string) string value stripped of comments and whitespace

Description

Reduce a string by removing leading and trailing comments and whitespace.