# String Arrays

**URL:** https://discourse.julialang.org/t/string-arrays/4357
**Category:** General Usage
**Tags:** question, embedding
**Created:** [June 20, 2017, 2:50am UTC](https://discourse.julialang.org/t/string-arrays/4357 "2017-06-20T02:50:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tastelessjolt](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@tastelessjolt](https://discourse.julialang.org/u/tastelessjolt)
#### Post date: [June 20, 2017, 2:50am UTC](https://discourse.julialang.org/t/string-arrays/4357/1 "2017-06-20T02:50:48Z")

</div>

How do I create string arrays in the C API?  
I coded up one but that seems to not work. Like can I use jl\_ptr\_to\_array and if I can, then what format should the data pointer be in.

This is the code I tried.  
[https://github.com/tastelessjolt/scilab-julia-interface/blob/master/string\_conv.c](https://github.com/tastelessjolt/scilab-julia-interface/blob/master/string_conv.c)

Thank you.
