CasewareDocs

Strings

Returns all resource strings. A single string resource is identified by its resource name.

The string resources are defined in a RESX file.

Compatibility

Available as of IDEA version 9.0

Syntax

Strings(name as String)

Parameter

name

The name of the string resource whose value is requested.

Remarks

The string names are case insensitive.

If the specified string is not found, an empty string is returned.

An error is raised if the name is null.

Example

Sub Main 
Dim stringTableAs Object
Dim stringValue As String

Set stringTable = SmartContext.Strings
stringValue = stringTable("ErrorMissingColumn")

'Log the value of the string.
SmartContext.Log.LogMessage "Column {0} is missing.", stringValue
End Sub