Standard library / strings
strings.ToLowerSpecial()
Applies the specified special-case lowercase mapping with standard fallback. Expected stdout: 'ı\n'.
Formal Syntax & Structure
go syntaxgo
func ToLowerSpecial(c unicode.SpecialCase, s string) stringParameters & Attributes
| Name | Type | Description |
|---|---|---|
| c | unicode.SpecialCase | Language-specific single-rune case mapping. |
| s | string | Input text or sequence. |
Return Value
string
Applies the specified special-case lowercase mapping with standard fallback.
Working Example
Example Snippetgo
package main
import ( "fmt" "strings" "unicode")
func main() { fmt.Println(string(strings.ToLowerSpecial(unicode.TurkishCase, "I")))}