18.207.255.49 |    

Navigation

Google Advertisement

Mit der Funktion strtoupper() werden alle Zeichen und Buchstaben in einem String (Text, Zeichenkette) in Großbuchstaben (Großschreibung) umgewandelt.

strtoupper
  1. # *****************************************
  2. # This function convert all lowercase characters
  3. # into uppercase characters.
  4.  
  5. function strtoupper () {
  6.  
  7. if [ -n "$1" ]; then
  8.     echo "$1" | tr '[:lower:]' '[:upper:]'
  9. else
  10.     cat - | tr '[:lower:]' '[:upper:]'
  11. fi
  12.  
  13. }
Parsed in 0.007 seconds at 38.00 KB/s

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

User online
There are 2 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)