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 » right

3w learning

string >
right

Title:

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


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

calling begin from the right side of string and returning characters from string:: request 8 characters from "welcome learning" as the string (one Chinese character space= 2 English characters)


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

<% Dim StringX, RightStringX StringX="welcome learning" RightStringX=Right(StringX,8) response.write RightStringX %>


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


learning (show right 8 characters)


learning 就是螢幕顯示的結果
..
...
...

[ 8/20/2008 ]

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