web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
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 » length

3w learning

string >
length

Title:

String text length (counting characters include space)


字符串长度 (算出字符长度)
Description:

Len(X): to count the total length of a string X example: often be used at submit required a length of characters limitation usage: often combines with Trim(X), Right(X,n), Left(X,n), Min(X,m,n) -------------------------------- do not use length(________) do not use len("_______")


Len(X): 算出X自串字符长度
(通常一中文字等于两个英文字符)

例: 常在传送前检查字符串的长短是否吻合要求

使用: 常合并与Trim(X), Right(X,n), Left(X,n), Min(X,m,n) 一起使用
Example Code:

<% dim LenTxt, aTxt aTxt="call Ezer" LenTxt=Len(aTxt) response.write "aTxt length= "&LenTxt %>


宣告变量 LenTxt, aTxt

定aTxt="call Ezer"

计算出 aTxt 的总字符长度

屏幕印出 aTxt length = 长度LenTxt
Example Result:


aTxt length= 9 ------------ length is 9


字符串长度= 9
..
...
...

[ 7/20/2008 ]

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