Getting an error while trying to parse a string

i am using this blocks but i am getting a error.

blocks (28)

i want to remove .png and a from acb.png.
and the output must be come cb.
but i am getting a error.

please help me

Might segment cannot work with Lists.

Image

2letterfilter

Source

I Think This Can Help U

so, what i have to use at this condition ?

Try this

image

2 Likes

Or like this :point_down: with less blocks

cb

:slightly_smiling_face:

2 Likes

It didn’t worked with dynamic text without knowing position of chars

The question didn’t mentioned the use of dynamic text.
Also can you explain how will @dora_paz’s block will work with dynamic text?

1 Like

by changing input (first block) and segment (where is a).

I don’t see any images. Is it just me?

1 Like

You can also use the replace text mappings (using dictionary order)

Make a dictionary with two pairs (key = “.png”, value = “”)(key = “a”, value = “”)

Then put the text and you are done.

Please don’t duplicate your post or you can be suspended.
Read the community rules !!!

2 Likes

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