18.207.255.49 |    

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 111.09 KB/s

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

User online
There are 3 users online.

Tags Cloud

Latest snippets
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)
STDERR
(Bash::Function)
radius
(CSS)
shadow
(CSS)
rotate
(CSS)
create_function
(JavaScript::Snippets)