![]() |
|
論壇說明 |
歡迎您來到『史萊姆論壇』 ^___^ 您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的! 請點擊這裡:『註冊成為我們的一份子!』 |
![]() ![]() |
|
主題工具 | 顯示模式 |
![]() |
#1 |
註冊會員
|
![]() 各位大大
線再小弟遇到一個困擾,就是當資料由資料庫輸出成excel資料時,必須切割欄位而儲存成excel欄位資料。而我現在想由首列的第二個字元判斷,如果首列的第二個字原為"="(等號)的話,那這一列的資料就全部刪除。不知道各位大大有什麼解決方式。附上資料切割的script <html xmlns ![]() ![]() ![]() xmlns:x="urn:schemas-microsoft-com ![]() xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=big5"> <meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"> <link id=Main-File rel=Main-File href="../Book1.htm"> <link rel=File-List href=filelist.xml> <link rel=Edit-Time-Data href=editdata.mso> <link rel=Stylesheet href=stylesheet.css> <style> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:1.0in .75in 1.0in .75in; mso-header-margin:.5in; mso-footer-margin:.5in;} ruby {ruby-align:left;} rt {color:windowtext; font-size:9.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:新細明體, serif; mso-font-charset:136; mso-char-type:none; display:none;} --> </style> <![if !supportTabStrip]><script language="JavaScript"> <!-- function fnUpdateTabs() { if (parent.window.g_iIEVer>=4) { if (parent.document.readyState=="complete" && parent.frames['frTabs'].document.readyState=="complete") parent.fnSetActiveSheet(0); else window.setTimeout("fnUpdateTabs();",150); } } if (window.name!="frSheet") window.location.replace("../Book1.htm"); else fnUpdateTabs(); //--> </script> <![endif]><!--[if gte mso 9]><xml> <x:WorksheetOptions> <x ![]() ![]() <x:Selected/> <x:ProtectContents>False</x:ProtectContents> <x:ProtectObjects>False</x:ProtectObjects> <x:ProtectScenarios>False</x:ProtectScenarios> </x:WorksheetOptions> </xml><![endif]--> </head> <body link=blue vlink=purple> <table x:str border=0 cellpadding=0 cellspacing=0 width=72 style='border-collapse: collapse;table-layout:fixed;width:54pt'> <col width=72 style='width:54pt'> <tr height=22 style='height:16.5pt'> <td height=22 width=72 style='height:16.5pt;width:54pt'></td> </tr> <![if supportMisalignedColumns]> <tr height=0 style='display:none'> <td width=72 style='width:54pt'></td> </tr> <![endif]> </table> </body> </html> |
![]() |
送花文章: 60,
![]() |