File Extensions
Hey guyz
Could someone help me?
I am trying to find out how to remove file extensions from filenames using Visual Basic
Thanks in advance
C G M O N
Const FileName as string = "TestFile.this"
public function RemoveExt(FileName as string) as string
''In the file name there can not be a "." in it other then the
''one befor the Ext
RemoveExt = left$(FileName,instr$(filename,"."))
end Function
i did that off the top of my head so if its rong sorry
umm it should give you a idea of how to do it
-VBLimits
Sorry about the Spelling..
public function RemoveExt(FileName as string) as string
''In the file name there can not be a "." in it other then the
''one befor the Ext
RemoveExt = left$(FileName,instr$(filename,"."))
end Function
i did that off the top of my head so if its rong sorry
umm it should give you a idea of how to do it
-VBLimits
Sorry about the Spelling..

Why is this in the Nehe forums? Here it is in C for no reason what-so-ever:
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said

http://druidgames.cjb.net/
|
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said

http://druidgames.cjb.net/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement