Rebol 程式設計/select
外觀
SELECT series value /part range /only /case /any /with wild /skip size
在序列中查詢值並返回其後的值或序列。
SELECT 是一個動作值。
- series -- (型別:序列物件埠)
- value -- (型別:任何型別)
- /part -- 將搜尋限制為給定的長度或位置。
- range -- (型別:數字序列埠)
- /only -- 將序列值視為單個值。
- /case -- 字元區分大小寫。
- /any -- 啟用 * 和 ? 萬用字元。
- /with -- 允許自定義萬用字元。
- wild -- 指定 * 和 ? 的替代項 (型別:字串)
- /skip -- 將序列視為固定大小的記錄
- size -- (型別:整數)
select: native[
{Finds a value in the series and returns the value or series after it.}
series [series! object! port!]
value [any-type!]
/part "Limits the search to a given length or position."
range [number! series! port!]
/only "Treats a series value as a single value."
/case "Characters are case-sensitive."
/any "Enables the * and ? wildcards."
/with "Allows custom wildcards."
wild [string!] "Specifies alternates for * and ?"
/skip "Treat the series as records of fixed size"
size [integer!]
]