mtext_lowercase(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 mt can affect how the case conversion goes down. It's not always a one-char-in-one-char-out situation.
  • If the Mlanguage text property is attached to mt, that can affect the conversion too.
  • The length of mt may 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 (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