klyn.i18n.ResourceBundle.getStringArray
method
public getStringArray(notnull key as String) as String[]
Description

Reads a fixed-size String array without coercing lists or other values.

Parameters
ParameterDescription
keyResource key.
Returns

Stored String array.

Throws
  • MissingResourceException if the key is absent.
  • TypeError if the resource is not a String array.
  • NullException if key is null at runtime.
Example

choices = messages.getStringArray("choices")