www.icetips.com  Icetips Utilities Documentation 11/30/2010    

Network Class:  CheckTrailingBackSlash

Previous  Top  Next  


Prototype:  (STRING pPath), String

 

Takes a path as parameter.  Checks if the path ends with backslash and if it does not, it adds a leading backslash.

 

Example:

 

MyProc   Proc

P    String(255)

ITN  ITNetworkClass

Code

P = 'somepath\myfile.txt'

P = ITN.CheckLeadingBackSlash(P)

Message('P is now = ' & P)

 

P would now be '\somepath\myfile.txt'

 

This is mostly for internal use in the class, but is made public in case someone needs it.

 

See also:

CheckLeadingBackSlash

 

 

 



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