TypeString.renderString
renderString() -> string
Description
Resolve all filled values and return the final plaintext string.
Normally this is not recommended, as the consuming modules will render the TypeString before it is used.
$userName = 'taylor22' $html = html'Hello, <b>{}</b>'.fill(userName) $plain = html.renderString() print($plain) //= 'Hello, <b>taylor22</b>'