|
-
Oct 16th, 2010, 10:47 PM
#1
Thread Starter
New Member
string manipulation help
i want to edit text files in vb6.
but i have a problem..
i can't hide the return back the ampersand on the text file when i need to save it.
i don't know how to return back the deleted ampersand when i saved the text file.
help me 
here's my code
Private Sub Command2_Click()
Dim cont, cont1, cont2 As String
Dim jak, jak2 As String
Dim pos, ctr As Integer
cont = RichTextBox1.Text
cont1 = RichTextBox1.Text
cont2 = "="
pos = InStr(cont, cont2)
jak1 = Mid(cont1, pos + 1)
jak2 = Left(jak, Len(jak) - 1)
MsgBox jak2
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|