Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

How to compare folder name?

$
0
0
Hi guys!

How to compare a folder name from a string?

Just like:

Code:
folderFinder = File.Find("d:\\", "*", true, true, nil, nil);

for k, v in pairs (folderFinder) do
    string_small = String.Lower(v);
       if string_small ~= "gta" or string_small ~= "need for speed" then
        Dialog.Message("Nice", "is working and do something");
       end
end

Viewing all articles
Browse latest Browse all 2105

Trending Articles