Data

array(1) {
  ["str"]=>
  string(8) "(ABCdef)"
}

Template

<!-- .INCLUDE inc-header -->

	<h2>Result</h2>
	<ol>
	<li>{$str}</li>
	<li>{$str|strtoupper}</li>
	<li>{$str|strtolower}</li>
	<li>{$str|str_repeat,3}</li>
	<li>{$str|str_repeat,3|strtolower}</li>
	<li>{$str|custom_func}</li>
	</ol>

<!-- .INCLUDE see-also-xmp -->

<!-- .INCLUDE inc-footer -->

Result

  1. (ABCdef)
  2. (ABCDEF)
  3. (abcdef)
  4. (ABCdef)(ABCdef)(ABCdef)
  5. (abcdef)(abcdef)(abcdef)
  6. f-d-B-C-)-(-e-A

See also