ScriptHelperFormatTooltipString Method |
Formats string to be used for tooltip.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string FormatTooltipString(
string text,
bool encode = true,
bool escape = true
)
Parameters
- text
- Type: SystemString
Tooltip string - encode (Optional)
- Type: SystemBoolean
Indicates whether the tooltip text should be encoded - escape (Optional)
- Type: SystemBoolean
Indicates if apostrophes and backslashes should be escaped
Return Value
Type:
StringSee Also