System.JSON.Utils.TJsonTextUtils.ShouldEscapeJavaScriptString

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function ShouldEscapeJavaScriptString(const S: string; const CharEscapeFlags: array of Boolean): Boolean;

C++

__classmethod bool __fastcall ShouldEscapeJavaScriptString(const System::UnicodeString S, const bool *CharEscapeFlags, const int CharEscapeFlags_High);

プロパティ

種類 可視性 ソース ユニット
function public
System.JSON.Utils.pas
System.JSON.Utils.hpp
System.JSON.Utils TJsonTextUtils


説明

指定された文字列にエスケープが必要な文字が含まれていれば True を、含まれていなければ False を返します。

指定された文字エスケープ フラグの配列True になっている文字や、指定された文字エスケープ フラグの配列の最大インデックスよりも大きい順序値の文字が文字列に含まれている場合に、ShouldEscapeJavaScriptStringTrue を返します。

関連項目