This repository has been archived by the owner on Sep 28, 2018. It is now read-only.
While the StringBuilder
has sprintf
format helpers, the main Str
class did not. Well now it does.
Str::s('There are %d monkeys in the %s')->format([5, 'tree']); // There are 5 monkeys in the tree