Table of Contents

TTMSFNCUtils.EscapeString Method

Escapes a string for safe use in JSON-style text.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function EscapeString(const AValue: string): string;

Parameters

Name Description
AValue String to escape.

Returns

Escaped string with supported control characters and quotes encoded.