Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) Tools Help GTL - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

GT_STREXPAND()

Insert fillers between characters in a passed string
---------------------------------------------------------------------------------

 Syntax

        GT_StrExpand(<cStr>, [<nNum>], [<cChar>]) --> cRet  

 Arguments

        <cStr1>    - A character string to insert chars into <nNum>   - 
                  The number of fill characters to insert (default 1)
                  <cChar>  - The fill chararacter (default space)

 Returns

        <cRet>       - The input string with fill characters inserted 
                  between every character in the original.

 Description

      Inserts fill characters into a string.

      NOTE:  invalid parameters will return ""

 Examples

      ? gt_strexpand("abc")                    // prints "a b c"
      ? gt_strexpand("abc", 2)                 // prints "a  b  c"
      ? gt_strexpand("abc", 2, '.')            // prints "a..b..c"

Status

      Ready

 Files

      Library is libgt
      Library is libgt

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson