Database specific text

Hello,

I am wondering if it is possible to take specific text from an input or multiline input and save it separately in the database. Or is it possible to take specific text from a database entry and show it in other places?

Im not new to bubble, I’ve been around here for awhile.

Let me rephrase

Text in an input: “Test text in the input.”

I want to be able to save the word “test” in database item A
I want to be able to save word “text” in database item B

I don’t think it is possible, but I appreciate your reply.

@Builder125 You can look at using the split by operator on your input text. Once you have the list you can iterate over it however you like.

You can create a backend workflow that takes a text parameter and creates a new thing in the database with that text value. You would schedule this backend workflow on a list of texts = the input value (split by " ").

Hopefully this helps!

When you say “specific text”, you don’t mean hardcoding the specific word right? Since then you could just manually type some text and save it without actually extracting anything :laughing:

Maybe you just want to do :split by (space), then do :filtered and dynamically filter the word(s) you want?

Or you want specifically the 1st word to Item A, and 2nd word to Item B?

I will try both of these, thank you!

1 Like

I believe the :split by might work, but is there any way that you know of that gets rid of the rest of the text?

Example: “Test sentence, in the text in the input.”

Use split by for the word “text” and then get the rest of the sentence “in the input.” not to show up?

You could do :split by ( your text ) :first item :slightly_smiling_face: That would grab everything in front of your text, so you just need to add it back on after that.