Thu Mar 31, 2011 12:15 am
<%
Dim strTest
' original string
strTest= "welcome to codemiles"
'print string after replace
Response.Write (Replace(strTest, "codemiles", "CM Community"))
%>
<%
Dim strTest
'original string
strTest= "codemiles community member"
'search for a word in a string
strDoSearch= InStr(strTest, "codemiles")
print the result of search
Response.Write strDoSearch
%>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.