44.222.104.49 |    

Navigation

Google Advertisement

Diese Funktion prüft ob es sich um eine Hexadezimale Farbangabe handelt. Die Funktion gibt TRUE (bzw. 1) bei Erfolg und FALSE (bzw. 0) bei Fehler zurück.

checkhexa
  1. sub checkhexa {
  2.  
  3. if ( $_[0] =~ m/^#[0-9a-fA-F]{6}$/ )
  4. { return 1; } else { return 0; }
  5.  
  6. }
Parsed in 0.001 seconds at 116.08 KB/s

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

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