Title: Get first string from array
Last modified: March 2, 2020

---

# Get first string from array

 *  Resolved [RoberMS](https://wordpress.org/support/users/robertomoll/)
 * (@robertomoll)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/get-first-string-from-array/)
 * Hello good afternoon.
 * Inside the json i have an array that contains a string –> “image”:”[\”1572629483.
   jpg\”]”
 * if I use {image} i get this result –> [“1572629483.jpg”]
 * but I want only the string inside the array –> 1572629483.jpg
 * let’s see if you can help me, because I don’t clarify much.
 * Thanks
    -  This topic was modified 6 years, 3 months ago by [RoberMS](https://wordpress.org/support/users/robertomoll/).
    -  This topic was modified 6 years, 3 months ago by [RoberMS](https://wordpress.org/support/users/robertomoll/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/get-first-string-from-array/#post-12500472)
 * Hi,
 * the free plugin can’t delete the [ and ] from the json-data.
    The best way would
   be to have better data in the JSON. Is there a chance to contact the API-provider
   to give the pure data (maybe in a new json-field).
 * Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Get first string from array’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/get-first-string-from-array/#post-12500472)
 * Status: resolved