MS Access Split() လုပ်ဆောင်ချက်
ဥပမာ
လိုင်းခွဲများ-
SELECT Split("SQL Tutorial is fun!") AS SplitString;
Result: {"SQL",
"Tutorial", "is", "fun!"}
SELECT Split ("red:green:yellow:blue", ":", 2) AS SplitString;
Result: {"red", "green"}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
Split() function သည် string တစ်ခုကို array ၏ string တစ်ခုအဖြစ် ပိုင်းခြားသည်။
အထားအသို
Split(string, separator, limit, compare)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
string | Required. The string to split |
separator | Optional. The separator used to split the string. The default is a space character |
limit | Optional. The number of strings to be returned. The default is -1, which returns all strings (splitted) |
compare | Optional. The type of string comparison. Possible values: -1: Use the setting of Option Compare 0: Binary comparison 1: Textual comparison 2: Comparison based on info in your database |
နည်းပညာဆိုင်ရာအသေးစိတ်
အလုပ်လုပ်သည်- | Access 2000 မှ |
---|