ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
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:".