AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: extractFileDrive

extractFileDrive(s), where s is a string representing a file name, returns the drive of the file name.

For example, extractFileDrive("C:\WINDOWS\notepad.exe") returns "C:".