string-format

1.0 1.1 1.2 1.3

Formats a string using the sprintf function

<?php
string_format(string $value, string $format)
  • value: the string to format
  • format: the format to use, see sprintf() for details