Replacing Characters - How to

Scenario: InputTF, button MC, and a dynamicTF on the stage.

What I want to do:When a user inputs text into the inputTF and presses the button, any spaces are replaced with _ and the “string” is placed in the dynamicTF.

EG: I type “this is an example” into the InputTF. I then press the button. The dynamicTF now reads “this_is_an_example”

You might be able to see how useful this kind of process is for many projects. Plus, I’m super curious :slight_smile: