Jul 24, 2003 #1 lengoo IS-IT--Management Jan 15, 2002 381 GH Hi All, I am trying to truncate the first 3 characters of a string.. is the command I need TRIM? How do I use it? eg d:\file_system.doc I want to trim the d:\ bit and only get file_system.doc Thanks
Hi All, I am trying to truncate the first 3 characters of a string.. is the command I need TRIM? How do I use it? eg d:\file_system.doc I want to trim the d:\ bit and only get file_system.doc Thanks
Jul 24, 2003 1 #2 aesseal Programmer Nov 29, 2002 23 US You can use the Right function, as below: strNew = right(strFilePath,len(strFilePath)-3) where strFilePath is the string you want to manipulate. This will give you all the string without the first 3 characters. Dan Upvote 0 Downvote
You can use the Right function, as below: strNew = right(strFilePath,len(strFilePath)-3) where strFilePath is the string you want to manipulate. This will give you all the string without the first 3 characters. Dan