If you have your response in a variable, like:
sTheResponse = "kja kjsd fjasldf8alkjlaudsfajsdlkfj alkjdiosfjaldkfj
alksjdfa98sdjflaksdjflkajsdf8jaslekfjal;sdifual;sd jf8asjdflakjsd
fiaj;dslifj"
You could do:
If Len(sTheResponse) > 49
sTheResponse = Left(sTheResponse, 49) & "hello" & Right(sTheResponse,
Len(sTheResponse) - 49)
Else
sTheResponse = Replace(Left(sTheResponse & String(49, " "), 49), " ",
" ") & "hello"
End If
Response.Write sTheResponse
Ray at work
"Ken" <an*******@discussions.microsoft.com> wrote in message
news:07****************************@phx.gbl...
But if I print something before that?
I want to justify the location so even though there is
something printed before that "X", I want to make it print
exactly at the position 50.
p.s. sorry about opening up another thread.
-----Original Message-----
Print?
<% Response.Write String(49, " ") & "X" %>
That will put 49 spaces before X in the response.
Ray at work
"Ken" <an*******@discussions.microsoft.com> wrote in
messagenews:0c****************************@phx.gbl... I am trying to print to simple flat file.
>-----Original Message-----
>What file? Just an normal html response? If so, you
could probably do this
>with some css stuff. Try asking in a group that covers
css or html design.
>I find comp.infosystems.www.authoring.stylesheets to be
an alright group.
>
>Ray at work
>
>"Ken" <an*******@discussions.microsoft.com> wrote in
message
>news:0b****************************@phx.gbl...
>>
>> Does any one know how I can position the output at
certain
>> point? Such as If I want to print "hello" starting at
>> position 50 from the left in the file.
>>
>> Ken
>
>
>.
>
.