Copy word to NotePade

  • 14 years ago
    Hi...
    I have this code to do search for a word that are between 2 bracket and this text (word) in a notepade file.
    then i want to take only the word to save (copy) in another notepade file
    (the word in the last statement)....
    [VBCODE]pos1 = InStr(1, line, "(")
                        pos2 = InStr(1, line, ")")
                            If pos1 > 0 And pos2 > 0 Then
                                word = Mid(line, pos1 + 1, pos2 - pos1 - 1)[/VBCODE]
    Please, How can i do that?
    Thanks :wave:








Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann