dirt29
06-16-2006, 12:26 PM
I think this is pretty simple..
I'm pulling entries from a DB to a DD List. The items that are returned have are named like such:
Microsoft 2000
Microsoft XP
etc, etc..
What I want to do is take the "Microsoft" off of the front..
I started to write something like this:
<%
po = rs("Name")
if left(po, 9)="Microsoft" then
replace(po, "Microsoft", "")
end if
%>
But when I pass back po, it's blank...As stated many times my VBscript is weak, but I feel like I'm pretty close. Any help?
I'm pulling entries from a DB to a DD List. The items that are returned have are named like such:
Microsoft 2000
Microsoft XP
etc, etc..
What I want to do is take the "Microsoft" off of the front..
I started to write something like this:
<%
po = rs("Name")
if left(po, 9)="Microsoft" then
replace(po, "Microsoft", "")
end if
%>
But when I pass back po, it's blank...As stated many times my VBscript is weak, but I feel like I'm pretty close. Any help?