Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing part of a string with another
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353930
Message ID:
00354024
Views:
18
>I am looking for a VB function that evaluates a string and replaces all occurances of a specified string with another specified string.
>
>In VFP it is lcNewString =
>STRTRAN(cSearched,cSearchFor [, cReplacement] [, nStartOccurrence] [, nNumberOfOccurrences])

Use the REPLACE function.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform