How to remove [ ] and Timestamp from data coming from Firebase? How to show only the main text?

I am currently working on a project in which I call data from Firebase and display it in the UI. But I am facing a problem:

:small_blue_diamond: When I call the data, the text appears in the following format:

Example [“Life is fun in struggle”, “2025-09-22T10:30:00.000Z”]

I want to display only the main text (content) in my UI — i.e. “Life is fun in struggle” — but along with it, the timestamp and array format are also displayed, which confuses the user.

:pushpin: My requirement:
I want to display only the main text in the UI. I don’t want any timestamp, array bracket or other metadata.
If you can show the blocks data format, it would be very helpful.
Note - I send data to Firebase through the admin app and I need the clock in it, so the clock format has been added to it
Thank you :dizzy:


Uploading: IMG_20250922_221612.jpg…

Hi hajare571,

Could you show the structure you have on Firebase?

I also see an image that didn’t load correctly

try uploading it again, thanks

Is this a Kodular project or are you using another builder?

Taifun

Sorry, my project is on kodular, if you are confused by the block image, I would like to tell you that I have filtered the image to make it clearer.

hey
something was wrong with this image

:blue_square: What to Change:

  1. replace get datalist item with:
select list item
    list = get datalist item
    index = 1

:magnifying_glass_tilted_left: Result:

  • Index 1 → "Life is fun in struggle" :white_check_mark: (will show in your UI)
  • Index 2 → "2025-09-22T10:30:00.000Z" (you can still use this later if you want to show time).

Oh, it’s working, thanks dear.:smiling_face_with_three_hearts:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.