Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replicate feature ?
Message
De
07/01/2005 10:01:08
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00975072
Message ID:
00975085
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
Kirk,

No, but you should download the VFP ToolKit for .NET from http://www.gotdotnet.com/team/vfp/

Here's how to do Replicate:
Public Shared Function Replicate(ByVal cExpression As String, ByVal nTimes As Integer) As String    
	'Create a stringBuilder    
	Dim sb As StringBuilder = New StringBuilder()    
	'Insert the expression into the StringBuilder for nTimes    
	sb.Insert(0, cExpression, nTimes)    
	'Convert it to a string and return it back    
	Return sb.ToString()
End Function
~~Bonnie


>Is there a replicate function in vb.net like in vfp?
>
>Thanks
>
>Kirk
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform