I have a string...

NewString(0) = "File1.txt"

I need to seperate it to

"file1"

But I dont need it stored ..
Just need to code so the
computer sees it without
storing it..

How can I do that?

Something like this:

If BeforePeriod(String1(0)) = "Text1" then
end if