# ScriptStrings

The **ScriptStrings** object is returned by the [**DOpus**](dopus)**.strings** property. It lets you access any strings defined via [string resources](../../../scripting/resources/string_resources).

| Property Name | Return Type                   | Description                                                                                              |
| ------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------- |
| langs         | _object:_[**Vector**](vector) | Returns a [**Vector**](vector) of strings representing the languages that strings have been defined for. |

| Method Name | **Arguments**                                       | Return Type | Description                                                                                                                                                                                                                                                                                          |
| ----------- | --------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Get         | <p>&#x3C;string:name><br>&#x3C;string:language></p> | _string_    | <p>Returns the text of a string specified by name. The name must match the name used in the string resources.<br>Optionally you can provide a language name as the second parameter, to retrieve a string from a particular language. Otherwise, the string is returned in the current language.</p> |
| HasLanguage | \<string:language>                                  | _bool_      | Returns **True** if strings in the specified language are defined in the resources.                                                                                                                                                                                                                  |
