Results 1 to 4 of 4

Thread: strings: write to file, characers

  1. #1
    Guest

    Question

    -How can I extract characters from string?

    -Why strings are saved int the file with wreite# VB procedure in this form:
    "string"

    but no this:
    string

    ?

  2. #2
    Guest
    Use Print instead.

    Code:
    Open "MyFile.txt" For Output As #1
    Print #1, "MyString"
    Close #1

  3. #3
    Lively Member
    Join Date
    Apr 2000
    Location
    Rafaela (Argentine)
    Posts
    107
    You can use

    Left(string, n)
    Right(string, n)
    Mid((string, start, long)

    functions to extract characters from a string.

  4. #4
    Guest

    Smile Thank you!

    Thank you!
    You helped me very much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width