Android Question Function to delete a string of characters from a string

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

Is there a function in B4A to delete a string of characters from a string variable or the Text property of a view?

Example: If I want to remove the characters "City: " from an edit view and only the remaining characters would be left in the view.

B4X:
    edtCity.Text = StripCharacters ("City: ", edtCity.Text)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…