語言

Character.IsSpace(Char) 方法

定義

警告

deprecated

判斷指定字元是否為 ISO-LATIN-1 空白。

[Android.Runtime.Register("isSpace", "(C)Z", "")]
[System.Obsolete("deprecated")]
public static bool IsSpace(char ch);
[<Android.Runtime.Register("isSpace", "(C)Z", "")>]
[<System.Obsolete("deprecated")>]
static member IsSpace : char -> bool

參數

ch
Char

那個要被考驗的角色。

傳回

true 若字元為 ISO-LATIN-1 空白空間; false 否則,

屬性

備註

判斷指定字元是否為 ISO-LATIN-1 空白。 此方法僅對以下五個字元回傳true:<table class=“striped”caption>< style=“display:none”>truechars</caption><thead><tr><th scope=“col”>Character <th scope=“col”><Code th scope=“col”> Name </thead><tbody><tr><th scope=“row”>'\t'</th><td>U+0009</td><td>HORIZONTAL TABULATION</td></tr><tr tr th><scope=“row”>'\n'</th><TD>U+000A</TD/><>NEW LINE<TD/TD></TR><tr th><scope = “row”>'\f'</th><td>U+000C</td><td>FORM FEED</td></tr><tr th><scope =“row”>'\r'</th td><>/td tdU+000D<>/<td/tr tr th scope = “row”/th>CARRIAGE RETURNtd<></th td/tr><tr><th scope =“row”>' '</th><td>U+0020</td><td>SPACE</td></tr></tbody></表格>

此會員已被棄用。 被 isWhitespace(char) 取代。

java.lang.Character.isSpace(char)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於