Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

check inside a text file for existing text ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • check inside a text file for existing text ?

    I have a text file that contains some text.

    I tried this code to write something into it :

    Code:
    TextFile.WriteFromString("C:\\1.txt", "\r\nThis is some text.", true);
    But I want it before writing, check the text file if (This is some text.) is already exists.

    Is that possible ?

  • #2
    text file read to string then string find.

    Comment


    • #3
      Tnx, it was easy

      Comment

      Working...
      X