Gets the string resource associated with the given identifier for the current localization culture.

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.getstring(string resid)
string locale.getstring(string resid, any[ ] args)

Parameters

Name Data Type Description
resid String The string resource identifier.
args Any[ ] An array containing zero or more arguments to format.

Return Value

Data Type Description
String A localized string resource value.

Expand image Example

SXML