---
title: "stringArrayResource"
description: "Load a string resource."
type: "composable"
---

<div class='type'>Composable Function</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
@ReadOnlyComposable
fun stringArrayResource(@ArrayRes id: Int): Array<String>
```


Load a string resource.

#### Parameters

| | |
| --- | --- |
| id | the resource identifier |


#### Returns

| | |
| --- | --- |
|  | the string data associated with the resource |





