Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23a9aec6c4fcf71

Jump to content

Template:Str crop/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Use to remove the right-most {{{2}}} characters of a string {{{1}}}.

Example

[edit]
CodeResult
{{str crop |Example |3}} Exam
{{str crop |123.456|3}} 123.
{{str crop |123.456|-3}} 12
{{str crop |123.456|4}} 123
{{str crop |123.456|-4}} 123
{{str crop |123.456|0}} 123.456
{{str crop |123.456|7}}

See also

[edit]