Hello , I am new to the community and look forward to learning a lot here , I have a question with a simple script. The problem is, in the file m.rtf, I have this
{
text3,21
text3,4
}
The problem is that it found the string "text3.2" in the file and tells me that is right , how I can do to find exactly the string original "text3,2" ?
{
text3,21
text3,4
}
The problem is that it found the string "text3.2" in the file and tells me that is right , how I can do to find exactly the string original "text3,2" ?
Code:
set Sstring to "text3,2"
set file 1 to read alias ((path to library folder as text) & "m.rtf")
if Sstring is in file1 then
say "yes"
else
say "no"
end if