hey, i can't remember the name of the function that would separate a string depending on a string like ",".. man, kinda hard to explain, someones gotta know tho.

I basically need to get the directory out of a string like "C:\(blabla)\(blabla)\file.txt"... get it? so i'd have "C:\(blabla)\(blabla)"

PLEASE HELP!!