to char Lower case character - Android java.lang

Android examples for java.lang:Character

Description

to char Lower case character

Demo Code


//package com.java2s;

public class Main {
    public static char toLower(char c) {
        if (c >= 'A' && c <= 'Z') {
            c += 0x20;/*  www. jav a  2 s. c  o m*/
        }
        return c;
    }
}

Related Tutorials