
03-08-2001, 04:57 AM
|
|
Senior Contributor
Retired Moderator * Expert *
|
|
Join Date: Feb 2001
Location: UK
Posts: 1,287
|
|
string functions
|
I am having trouble with string functions, is there a limit to the size of string you can use in functions? In my program if you highlight part of a webbrowsers text, then you can align it left or right etc, this works with small sections but not large ones.
My code is making all the right changes but when Len(strselect) is over about 80 the replace function is not working
<pre>strTotal = Replace(strTotal, strSelect, strNew)</pre>
I have tried using Mid and Instr but these do not detect strSelect either.
Can I do these functions with large strings or am I going to have to break the strings up into an array
Someone please help before I go mad
|
|