Standard library / unicode
unicode.SpecialCase.ToLower()
Applies the language-specific lower mapping to one rune, falling back to the default mapping if no override exists. Expected stdout: 'ı\n'.
Formal Syntax & Structure
go syntaxgo
func (special SpecialCase) ToLower(r rune) runeParameters & Attributes
| Name | Type | Description |
|---|---|---|
| r | rune | Unicode code point. |
Return Value
rune
Applies the language-specific lower mapping to one rune, falling back to the default mapping if no override exists.
Working Example
Example Snippetgo
package main
import ( "fmt" "unicode")
func main() { fmt.Println(string(unicode.TurkishCase.ToLower('I')))}