padding a string with spaces to the right
Quote:
> I wanted the above code to look like: Jay hi!
> But instead it just does: Jay hi!
HTML ignores multiple spaces so you have to force a space with " "
You can do something like this:
<%
strJay= "Hey" & space(5) & "Jay"
strJay = Replace(myvar, Chr(32), " ")
Response.write(strJay)
%>
where you replace ASCII spaces with " "
--
Jakob Andersen
Denmark
http://www.effectus.dk