×

Golang Tutorial

Golang Reference

Golang Programs

Golang Practice

Golang Miscellaneous

Golang unicode.LowerCase Constant with Examples

Golang | unicode.LowerCase Constant: Here, we are going to learn about the LowerCase constant of the unicode package with its usages, syntax, and examples.
Submitted by IncludeHelp, on September 16, 2021

unicode.LowerCase Constant

The LowerCase constant is an inbuilt constant of the unicode package which is used to get the index into the delta arrays inside CaseRanges for case mapping. The value of LowerCase constant is 1.

Syntax

int unicode.LowerCase

Parameters

  • None

Return Value

The return type of the unicode.LowerCase constant is an int, it returns the index into the delta arrays inside CaseRanges for case mapping.

Example

// Golang program to demonstrate the
// example of unicode.LowerCase constant

package main

import (
	"fmt"
	"unicode"
)

func main() {
	fmt.Printf("Value of unicode.LowerCase: %d\n",
		unicode.LowerCase)
	fmt.Printf("Type of unicode.LowerCase: %T\n",
		unicode.LowerCase)
}

Output:

Value of unicode.LowerCase: 1
Type of unicode.LowerCase: int

Golang unicode Package »




Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.