Working with text
Text (পাঠ) is written in double quotes. Asomiya understands Assamese properly: a letter with its vowel sign, or a conjunct like ক্ষ, counts as one character.
Joining text
+ joins text with any value:
dhora naam = "Oxom"
kowa("Nomoskar, " + naam + "! bosor: " + 2026)
Output
Nomoskar, Oxom! bosor: 2026
Length
“অসমীয়া” has 5 characters as you would count them (অ, স, মী, য়া … ), not the 7 Unicode code points underneath.
Getting one character
Use [ ] with a position starting at ০:
Note
Text can’t be changed in place: শব্দ[০] = "ক" is an error (R016). Build a new text with + instead.
Special characters
কোৱা("প্ৰথম শাৰী\nদ্বিতীয় শাৰী")
কোৱা("তেওঁ ক'লে: \"নমস্কাৰ\"")
Output
প্ৰথম শাৰী দ্বিতীয় শাৰী তেওঁ ক'লে: "নমস্কাৰ"
kowa("prothom xari\ndwitiyo xari")
kowa("tew kole: \"Nomoskar\"")
Output
prothom xari dwitiyo xari tew kole: "Nomoskar"