Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - Replicate$

Posted in WinTask

'
' Replicate$(,)
'

' Author: Joe Strazzere

'
' Returns a string repeated times.
'

Function Replicate$(basestr$, count)
    Local i
    Local work$
    i=0
    work$=""
    If count > 0 then
        While i < count
            work$=work$+basestr$
            i=i+1
        Wend 
    EndIf
    Replicate$=work$
EndFunction

 

Msgbox("["+Replicate$("=========+",3)+"]")


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now