3.237.31.131 |    

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.002 seconds at 124.92 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)