* Truncate an input string view to a maximum length, and return the resulting string view. Do not
* https://envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/access_log#format-rules
* ignored. If command contains less tokens than number of passed params, some params will be left