⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkbody.inc

📁 1.4.1 个人桌面 1.4.2 信息中心 1.4.3 人事机构 1.4.4 考勤管理 1.4.5 工作计划 1.4.6 公文流转 1.4.7 会议管理 1.4.8 审批登记 1.4.
💻 INC
字号:
<%'"str"变量是你需要输出的内容, falg 是每行输出的字符个数
   private function showBody(Str,falg)
 
	dim dist
	dim i,j
	j=1 
	for i = 1 to len(str)
	  'if mid(str,i,1)<>"%" and ucase(mid(str,i,6))<>"SCRIPT" then
	    if mid(str,i,1)<>chr(13) and j<falg then'and mid(str,i,1)<>" " then
               dist=dist+mid(str,i,1)
	    
	    'elseif mid(str,i,1)=" " then'or mid(str,i,1)=" " then
	    'response.write dist
     	 'response.write "&nbsp;"
     	 'dist=""
	    
	    else
		response.write dist
     	        response.write "<BR>"'+chr(13)'+chr(10)
		dist=""
	    
	     j=0
	    	    
	   end if
        
      'end if
        j=j+1
        next 
	
  response.write dist
  end function

   function checktxt(Str)
	dim dist
	dim i 
	dist=""
	for i = 1 to len(str)
	  if mid(str,i,1)<>"%" and mid(str,i,1)<>chr(13) and ucase(mid(str,i,6))<>"SCRIPT" then
	       dist=dist+mid(str,i,1)
	  end if
        next 
	checktxt=dist
   end function

%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -