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
contentString, RegExp
Yes
A string to clip out of the string, or a RegExp that matches content to clip out of the string.