Changes

String Functions and Manipulation in VB6

490 bytes added, 16:25, 10 January 2008
The following lines were added (+) and removed (-):
== Replace (function) ==Returns a string in which a specified substring has been replaced with another substring a specified number of times.Syntax:Replace(expression, find, replace[, start[, count[, compare]]])Example Debug.print Replace("abababa", "a", "")Example public Function StripOut(From as string, What as string) as string  Dim i as Integer  StripOut = From  for i = 1 to len(What)    StripOut = Replace(StripOut, mid$(What, i, 1), "")  next i End Function
Bureaucrat, administrator
16,192
edits