>>
>>(not finished since I now need replicate function in C# - I found this
http://stackoverflow.com/questions/3754582/is-there-an-easy-way-to-return-a-string-repeated-x-number-of-times and wondering if I should go with String.Concat or create an extension - (if we don't have it already).
>
>Just use something like "".PadLeft(5, '*')
>
>Or whatever length/char you want to repeat.
Right, but I want to be able to repeat a string. In other words, I need to have VFP replicate function that works with strings.
In that link I like the answer with 22 helpful votes - I am going to add this as an extension. I can have a separate version for single character.
UPDATE. I've added both versions of this function (for char and string) to our library project.
If it's not broken, fix it until it is.
My Blog