SHIFT + D

clip

Updated on August 22, 2024Source codeTests

createClip is a pipe that transforms a string to a string with some content clipped out of it.

Create clip

Call createClip with these parameters to create your clip function:

Parameter
Type
Required
Description
content
String, RegExp
Yes
A string to clip out of the string, or a RegExp that matches content to clip out of the string.

clampclone

Edit doc on GitHub

ON THIS PAGE

clipCreate clip