Open In App

ASP Skip Method

The ASP Skip Method is used to skip/ignore a specified number of characters at the time of reading the contents of the Text File. 

Syntax



TextStreamObject.Skip(numchar)

Parameter Values 

Example Code: Below code illustrates the ASP Skips Method. 






<%
dim fs,f,t,x
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("d:\GFG.txt")
f.write("Hello GeeksForGeeks")
f.close
  
set t=fs.OpenTextFile("d:\GFG.txt",1,false)
t.Skip(11)
x=t.ReadAll
t.close
Response.Write(x)
%>

Output:

ForGeeks
Article Tags :