• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • VBScript Mid 函數

    發表于:2007-06-21來源:作者:點擊數: 標簽:
    Mid 函數 從字符串中返回指定數目的字符。 Mid( string, start[, length] ) 參數 string 字符串表達式,從中返回字符。如果 string 包含 Null,則返回 Null 。 Start string 中被提取的字符部分的開始位置。如果 start 超過了 string 中字符的數目, Mid 將

       

    Mid 函數

    從字符串中返回指定數目的字符。

    Mid(string, start[, length])

    參數

    string

    字符串表達式,從中返回字符。如果 string 包含 Null,則返回 Null。

    Start

    string 中被提取的字符部分的開始位置。如果 start 超過了 string 中字符的數目,Mid 將返回零長度字符串 ("")。

    Length

    要返回的字符數。如果省略或 length 超過文本的字符數(包括 start 處的字符),將返回字符串中從 start 到字符串結束的所有字符。

    說明

    要判斷 string 中字符的數目,可使用 Len 函數。

    下面的示例利用 Mid 函數返回字符串中從第四個字符開始的六個字符:

    Dim MyVar
    MyVar = Mid("VB腳本is fun!", 4, 6) 'MyVar 包含 "Script"。

    注意   MidB 函數與包含在字符串中的字節數據一起使用。其參數不是指定字符數,而是字節數。


    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>