ประเภทสตริง(bprà-pâyt sà-dtring)
Meanings
1NounB2
string (data type)
In computer science, a data type representing a sequence of characters, used for storing and manipulating text.
Examples
ในnaiในnai1of; belonging to (formal)2in; inside; within3during; in (time)โค้ดkóhtโค้ดkóht1code (programming)2[to] code (program)3code (set of symbols/rules)4code (identifier)นี้néeนี้née1this (near speaker)2this one3this; the present (time/topic)ตัวแปรdtuua bpraeตัวแปรdtuua bprae1variable factor (science/general)2variable (math/programming)nameถูกtòokถูกtòok1passive marker (often adverse)2[to] be affected; suffer (often adverse)3cheap; inexpensive4correct; right5to be correct/right6proper; morally rightประกาศbprà-gàatประกาศbprà-gàat1[to] announce; declare2announcement; notice3[to] proclaim; promulgate (form.)4proclamation; decreeให้hâiให้hâi1until; to the point that (result)2[to] have [sb] do; cause to3[to] give; provide4[to] allow; let; permit5so that; in order to6for (benefit of)เป็นbpenเป็นbpen1[to] know how; be able to (skill)2[to] have; suffer from; be in (a condition)3to be (identity/category/state)4to becomeข้อมูลkôr moonข้อมูลkôr moon1data (computing)2information; data (non-count)ประเภทสตริงbprà-pâyt sà-dtringประเภทสตริงbprà-pâyt sà-dtringstring (data type)
In this code, the variable `name` is declared as a string data type.
3 more examplesShow less
ฟังก์ชันfang-chanนี้néeจะjàคืนkeunค่าkâaกลับมาglàp maaเป็นbpenประเภทสตริงbprà-pâyt sà-dtringซึ่งsêungก็คือgâw keuข้อความkôr kwaamที่têeผู้ใช้pôo cháiพิมพ์pimเข้ามาkâo maa
This function returns a value of the string type, which is the text the user typed.
การเปรียบเทียบgaan bprìiap tîiapข้อมูลkôr moonประเภทสตริงbprà-pâyt sà-dtringต้องdtôngระวังrá-wangเรื่องrêuuangตัวพิมพ์ใหญ่dtuua pim yàiเล็กlékเพราะpráwระบบrá-bòpอาจàatมองว่าmong wâaเป็นbpenคนละkon-láตัวdtuuaกันgan
When comparing data of the string type, one must be careful about case sensitivity, as the system might see them as different.
แม้ว่าmáe wâaเบอร์โทรศัพท์ber toh-rá-sàpจะjàประกอบด้วยbprà-gòp dûuaiตัวเลขdtuua lêkแต่dtàeโดยทั่วไปdoi tûua bpaiเราraoมักmákเก็บไว้gèp wáiในnaiรูปแบบrôop bàepข้อมูลkôr moonประเภทสตริงbprà-pâyt sà-dtringเพื่อpêuuaรักษาrák-săaเลขศูนย์lêk sŏonนำหน้าnam nâa
Although a phone number consists of digits, we usually store it as a string data type to preserve any leading zeros.
Word Breakdown
+
ประเภทสตริงbprà-pâyt sà-dtringประเภทสตริงbprà-pâyt sà-dtringstring (data type)