Hey Koders, I’m trying to spilit text from strings it working to i’m getting result text in Brackets.
I’m Using Spinner component. It has 3 strings 1 Min, 2 Min,5 Min.
I wanted to remove Min text from strings. So i used this block.
Try this.
For the spinner index 1 is 1 Min, index 2 is 2 Min and index 3 is 5 Min. When you select an item from the spinner, assuming i selected index 2 my result will be 2 Min. Now to remove the Min, we replace all text at segment Min aand we replace it with empty text- Therefore you’ll be left with 2. Try with index 1 and 3.