Click or drag to resize
StringUtilitiesEscapeString Method (String, String)
Escapes special characters in a string, prefixing them with a backslash.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static string EscapeString(
	string s,
	string charactersToEscape
)

Parameters

s
Type: SystemString
The input string.
charactersToEscape
Type: SystemString
The characters to escape

Return Value

Type: String
The string where all occurrences of any of the characters to escape are prefixed with a backslash.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments