54.82.20.97 |    

Navigation

Google Advertisement

Mit der Funktion lcfirst() wird das erste Zeichen in einer Zeichenkette (Text, String) in einen Kleinbuchstaben (Kleinschreibung) umgewandelt.

lcfirst
  1. # *****************************************
  2. # This function convert the first letter
  3. # into lowercase letters.
  4.  
  5. function lcfirst () {
  6.  
  7. if [ -n "$1" ]; then
  8.     perl -e 'print lcfirst('$1')'
  9. else
  10.     cat - | perl -ne 'print lcfirst($_)'
  11. fi
  12.  
  13. }
Parsed in 0.002 seconds at 128.29 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 5 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)