Answers for "return string with first charctar lowercase"

0

awk convert first character to lowercase

echo EXAMPLE | awk '{$1=tolower(substr($1,0,1))substr($1,2)}1'
eXAMLPLE		#Example first lowercased outputed
Posted by: Guest on November-26-2020
-1

captilize the first letter of the string

String A = "ajay"
A.substring(0, 1).toUpperCase()
~it capabilitizes the first letter of the string 
o/p:
A
~concatinate the remainig lettes
A.substring(0,1).toUpperCase + A.substring(1)
o/p:
Ajay
Posted by: Guest on August-05-2021

Code answers related to "return string with first charctar lowercase"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language