domain .tw idv.tw .com.tw
你正在閱覽 :: 繁體中文:: 學習 ASP SQL VB HTML code

學習 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在閱覽 :: 繁體中文 Chinese_Traditional

學習.主題:
首頁
ASP
. Active-Server-Flash
. Array
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
»Left
»Length
»like
»Mid
»Replace
»Right
»Split
»trim_space
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....學習.教學 > ASP > string » left

3w learning

string >
left

Title:

request to get left side of string :: count by setting number


取出字串由左1位開始算的字元 :: 可設要取的字數
Description:

Form:: Left(Txt,n) calling left side of string and returning characters from string:: request 7 characters from "welcome learning" as the string (one Chinese character = 2 English characters)


傳回一字串由左1位開始算的字元
(一中文=兩個英文字元)
Example Code:

<% Dim StringX, LeftStringX StringX="welcome learning" LeftStringX=Left(StringX,7) response.write LeftStringX %>


傳回一字串StringX (welcome learning) 中由左1開始算到第7個字元
Example Result:


welcome (show 7 characters)


welcome 就是螢幕顯示結果
..
...
...

[ 8/20/2008 ]

www learning school add more scripts and tips memo
You are at >>3WT.EZER.COM >> 3WT.EZER.COM/ASP/STRING/LEFT.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email