Just wondering why you use the replace() function instead of insert()? I only vaguely read through your code, still a little confused.
vb Code:
Dim str As String = "this is string value" str = str.Insert(str.IndexOf("string"), "my ")
edit: Disregard my post... I didn't see this was for asp.net, I assumed some kind of vb script.




< Please
if this helped you out. Any kind of thanks is gladly appreciated > 
Reply With Quote