Skip to main content

Function: wrapWithDelimiters()

wrapWithDelimiters(content, startDelimiter, endDelimiter): string

Defined in: packages/core/src/utils/prompt-security.ts:135

Wrap content in structural delimiters

Parameters

content

string

The content to wrap

startDelimiter

string

The opening delimiter

endDelimiter

string

The closing delimiter

Returns

string

Content wrapped with delimiters