Pete,
The StringBuilder class supports methods that act very similar to VFP's replicate() function. Both StringBuilder.Add() and StringBuilder.Insert have en overloaded method that act like replicate().
I would also reccomend (like Sergey did) to download the VFP tool kit for .NET and explore how methods can be created to behave the same way as they do in VFP. It can be downloaded from
www.gotdotnet.com.
I do not personly use the VFP toolkit in any of my projects but I have looked at the source code to help me figure out how I can code things in .NET that I know there is a function for in VFP.
>Hello all, just feeling the waters of C# ! anyone know a C# equivalent of VFP's Replicate() ? I just guess it must have a string method that achieves this
Semper ubi sub ubi.