www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Core Class: FixPath

Previous  Top  Next  


Prototype: (String pPath),String

 

pPathThe path to fix

 

ReturnsThe fixed path name

 

This method takes a path name and checks if it contains a trailing backslash or not and returns the path WITH a trailing backslash.  It is overloaded with a method that takes a *CString parameter so it can be used with both string variables and CString variables.

 

Example:

 

ITC ITCoreClass

CString(2049)

Code

p = 'c:\temp'

Message('Fixed path = ' & ITC.FixPath(p))

 

See also:

IsFolder

RemoveBackslash

CheckLeadingBackslash

CheckTrailingBackslash

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/fixpath_core.htm