Substracting string - Tutorial
Use this board to post your code snippets - tips and tricks
2 posts
Page 1 of 1
Well hey guys i am going to show you have to remove all text besides certain text that is in a textbox or in a text area
, ok well to start it off heres the code.
items you need:
> 1 textbox
> 1 button
hello how are you
the h is at number 6 which is the value, and how many letters are in the word. which is 3. The first letter is 0![Smile :)](./images/smilies/icon_e_smile.gif)
and then try that out
, and there you go now you know how to get rid of text ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
easy right? there you have it![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Livengood
* if you have questions post here*
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
items you need:
> 1 textbox
> 1 button
Code: Select all
example :Dim txtstr As String
Dim nexttext As String
txtstr = TextBox1.Text
retString = str.Substring(the starting letter value, number of letters)
TextBox1.Text = nexttext
hello how are you
the h is at number 6 which is the value, and how many letters are in the word. which is 3. The first letter is 0
![Smile :)](./images/smilies/icon_e_smile.gif)
and then try that out
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
easy right? there you have it
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Livengood
* if you have questions post here*
wow thats easier than i thought it would be
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023