mtext_lowercase(3m17n)
π mtext_lowercase β the m17n library, but make it lowercase π
okay bestie, welcome to m17n, and specifically to the little function that takes your text and whispers "lowercase era" at it. no cap.
β¨ NAME β¨
mtext_lowercase β literally just the name, the original page leaves it at that, and honestly? iconic minimalism. π
πΈ SYNOPSIS πΈ
int mtext_lowercase (MText * mt)
π¦ DESCRIPTION π¦
So here's the vibe: mtext_lowercase() takes an M-text and destructively converts every character in mt to lowercase. Destructively, bestie. As in it goes in and changes the actual thing, not a copy. main character energy, no photocopies. π
Some details you actually need to know, fr fr:
- Characters that are adjacent to each other inside
mtcan affect how the case conversion goes down. It's not always a one-char-in-one-char-out situation. - If the
Mlanguagetext property is attached tomt, that can affect the conversion too. - The length of
mtmay change. yes really. so don't be out here assuming the length you started with is the length you're ending with. π - Characters that cannot be converted to lowercase are just... left unchanged. they get to stay exactly as they are, no notes. π
- All the text properties are inherited. all of them. π«Ά
β RETURN VALUE β
This function returns the length of the updated mt. that's the glow-up receipt, keep it. π§
π₯ SEE ALSO π₯
mtext_titlecase()mtext_uppercase()
the whole case-conversion friend group. go say hi. π
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
okay that's the whole page, you read it all, I'm so proud of you π₯Ήπ
Version 1.8.4 Β· Mon Sep 25 2023 Β· and that's the m17n manual page mtext_lowercase(3m17n), signing off. slay, periodt, go lowercase something. β¨ππ¦
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms