Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

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