How to convert EditText values into different characters?

Ksmith1192

Member
Licensed User
Longtime User
Ok, this is probably an easy question.

I have an EditText called QuestionTxt, and the user inputs "This is my question."

I want this converted to where all spaces are turned into underscores (_) whenever the SendBtn is clicked.

Any way I could easily do this?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…