[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 XPstrLen()
 Get the length of a String for display
------------------------------------------------------------------------------

   Function:   XPstrLen()

               Returns the length of a string when supplied to XPdisplay().
               Namely, the ~ characters must be removed..

   Syntax:     XPstrLen(cString) --> nDisplayLen

   Arguments:  a String

   Returns:    It's length when displayed with XPdisplay()

   Usage:      Here's the source code:
               Function XPstrLen(cStr)
               /***
               * Return Length of String for XPdisplay()
               * ie. remove ~
               */
               Return Len(StrTran(cStr,'~'))

See Also: XPaStrLen()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson