<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                | JScript? | [語言參考](#) | |-----|-----| # String 對象 可用于處理或格式化文本字符串以及確定和定位字符串中的子字符串。 #### 語法 `*newString* = **new String(**["s*tringLiteral*"]**)**` #### 參數 *newString* 必選項。要賦值為 **String** 對象的變量名。 *stringLiteral* 可選項。任意 Unicode 字符群。 #### 說明 **String** 對象可用字符串文字顯式創建。用這種方法創建的 **String** 對象(指以標準字符串形式)與用 **new** 運算符創建的 **String** 對象處理上不同。所有字符串文字共享公用的全局字符串對象。如果為字符串文字添加屬性,則它對所有標準字符串對象都是可用的: ~~~ var alpha, beta; alpha = " ~~~ 這是一個字符串 ~~~ "; ~~~ ~~~ beta = " ~~~ 這也是一個字符串 ~~~ "; ~~~ ~~~ alpha.test = 10; ~~~ 在前一示例中,這時為 *beta* 和所有將來的字符串定義 *test*。然而,在下面的例子中,被添加屬性的處理略有不同: ~~~ var gamma, delta; gamma = new String(" ~~~ 這是一個字符串 ~~~ "); ~~~ ~~~ delta = new String(" ~~~ 這是也一個字符串 ~~~ "); ~~~ ~~~ gamma.test = 10; ~~~ 在這種情況下,不為 *delta* 定義 *test*。每個用 **new****String** 聲明的 **String** 對象有其自己的一組成員。這是對 **String** 對象和字符串文字的處理不同的唯一情況。 #### 屬性 [constructor 屬性](#) | [length 屬性](#) | [prototype 屬性](#) #### 方法 [anchor 方法](#) | [big 方法](#) | [blink 方法](#) | [bold 方法](#) | [charAt 方法](#) | [charCodeAt 方法](#) | [concat 方法](#) | [fixed 方法](#) | [fontcolor 方法](#) | [fontsize 方法](#) | [fromCharCode 方法](#) | [indexOf 方法](#) | [italics 方法](#) | [lastIndexOf 方法](#) | [link 方法](#) | [match 方法](#) | [replace 方法](#) | [search 方法](#) | [slice 方法](#) | [small 方法](#) | [split 方法](#) | [strike 方法](#) | [sub 方法](#) | [substr 方法](#) | [substring 方法](#) | [sup 方法](#) | [toLowerCase 方法](#) | [toUpperCase 方法](#) | [toString 方法](#) | [valueOf 方法](#) #### 要求 [版本 1](#) #### 請參閱 [new 運算符](#) [? 2000 Microsoft Corporation 版權所有。保留所有權利。使用規定。](#)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看