Hi,
I currently have a string, ie <TEXT default_lang="en" str="Button text"/>
and I want to be able to remove <TEXT default_lang="en" str="
and "/>
so I am left with Button Text
If you could help me in any way I would be greatful
thank you
Luke
lukechris
0
Newbie Poster
Recommended Answers
Jump to PostHere is one way to do it. It assumes that the structure of the string remains the same all the time.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim StartPoint As Integer = TextBox1.Text.IndexOf("str=") If StartPoint >= 0 Then StartPoint += 5 …
All 4 Replies
waynespangler
63
Posting Pro in Training
waynespangler
63
Posting Pro in Training
silambharasan
0
Newbie Poster
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.