Skip to main content
Table of Contents

TTMSFNCUtils.EscapeString Method

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

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function EscapeString(const AValue: string): string;
__classmethod System::UnicodeString __fastcall EscapeString(const System::UnicodeString AValue);

Parameters

Name Description
AValue String to escape.

Returns

Escaped string with supported control characters and quotes encoded.