ASP Column Property
❮ TextStream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
ကော်လံ ပိုင်ဆိုင်မှုသည် ဖြည့်သွင်းစီးကြောင်းတစ်ခုရှိ လက်ရှိ စာလုံးအနေအထား၏ ကော်လံနံပါတ်ကို ပြန်ပေးသည်။
မှတ်ချက်- ဤပိုင်ဆိုင်မှုသည် လိုင်းအက္ခရာအသစ်တစ်ခုရေးပြီးနောက် 1 (အခြားအက္ခရာတစ်ခုမျှမရေးရသေးမီပင်)။
အထားအသို
TextStreamObject.Column
ဥပမာ
<%
dim fs,f,t,x,y
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt")
f.write("Hello World!")
f.close
set t=fs.OpenTextFile("c:\test.txt",1,false)
do while t.AtEndOfStream<>true
x=t.Read(1)
y=t.Column-1
loop
t.close
Response.Write("The last character in the text file is: " & x)
Response.Write("<br> at character position: " & y)
%>
Output:
The last character in the text file is: !
at character position: 12
❮ TextStream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။