Skip to main content

cut

Remove all values of arg from the given string.

def cut(
value: string,
arg: string
) - > string

Remove all values of arg from the given string.

Parameters

NameTypeDescription
valuestringThe original string content to be processed.
argstringThe specific substring to be identified and removed from the value.

Returns

TypeDescription
stringThe modified string with all occurrences of the argument removed, preserving HTML safety status where applicable.