Link to home
Start Free TrialLog in
Avatar of bottomlinemg
bottomlinemg

asked on

asp array - replace string in array

I have an array in asp

can someone help me to search for a string in the array that is an exact match (meaning if i search cat it will return cat but not categories) and replace it with another string i specify.
Avatar of kevp75
kevp75
Flag of United States of America image

you should be able to get away with using the instr function.  I would do a binary compare though instead of a textual compare...

http://www.w3schools.com/vbscript/func_instr.asp
Avatar of esthera
esthera

can someone help me write a function to do this?
ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial