Filter(sourcearray, match[, include[, compare]]) 搜尋字符串數組中的指定字符串,凡是數組元素中含有指定字符串,會將它們結合成新的字符串數組并傳回。若是要傳回不含指定字符串的數組元素,則include 參數設為False。compare 參數則是設定搜尋時是否區(qū)分大小寫,此時只要給TextCompare 常數或1 即可。
Fix(number) 去掉參數的小數部分并傳回。
Format(expression[, style[, firstdayofweek[, firstweekofyear]]]) 將日期、時間和數值資料轉為每個國家都可以接受的格式。
FormatCurrency(expression[,numdigitsafterdecimal [,includeleadingdigit]]) 將數值輸出為金額型態(tài)。
numdigitsafterdecimal 參數為小數字數,includeleadingdigit 參數為當整數為0 時是否補至整數字數。
CObj(expression) 轉換表達式為Object 型態(tài)。
CShort(expression) 轉換表達式為Short 型態(tài)。
CSng(expression) 轉換表達式為Single 型態(tài)。
CStr(expression) 轉換表達式為String 型態(tài)。
Choose (index, choice-1[, choice-2, ... [, choice-n]]) 以索引值來選擇并傳回所設定的參數。
Chr(charcode) 以ASCII 碼來取得字符內容。
Close(filenumberlist) 結束使用Open 開啟的檔案。
Cos(number) 取得一個角度的余弦值。
Ctype(expression, typename) 轉換表達式的型態(tài)。
DateAdd(dateinterval, number, datetime) 對日期或時間作加減。
DateDiff(dateinterval, date1, date2) 計算兩個日期或時間間的差值。
DatePart (dateinterval, date) 依接收的日期或時間參數傳回年、月、日或時間。
DateSerial(year, month, day) 將接收的參數合并為一個只有日期的Date 型態(tài)的數據。
Datevalue(datetime) 取得符合國別設定樣式的日期值,并包含時間。
Abs(number) 取得數值的絕對值。
Asc(String) 取得字符串表達式的第一個字符ASCII 碼。
Atn(number) 取得一個角度的反正切值。
CallByName (object, procname, usecalltype,[args()]) 執(zhí)行一個對象的方法、設定或傳回對象的屬性。
CBool(expression) 轉換表達式為Boolean 型態(tài)。
CByte(expression) 轉換表達式為Byte 型態(tài)。
CChar(expression) 轉換表達式為字符型態(tài)。
CDate(expression) 轉換表達式為Date 型態(tài)。
CDbl(expression) 轉換表達式為Double 型態(tài)。
CDec(expression) 轉換表達式為Decimal 型態(tài)。
CInt(expression) 轉換表達式為Integer 型態(tài)。
CLng(expression) 轉換表達式為Long 型態(tài)
全國職稱計算機考試速成過關系列套裝:W .. 定價:¥133 優(yōu)惠價:¥133.0 更多書籍 | |
全國職稱計算機考試速成過關系列套裝:W .. 定價:¥124 優(yōu)惠價:¥124.0 更多書籍 |