Consonants

Top  Previous  Next

consonants($a)

 

This returns a new data parameter that contains the consonants in the $a parameter.

 

In normal usage, the $a parameter will be an explode parameter

 

$a = explode("RATATOUILLE")  

 

this is equivalent to defining $a as

 

$a = data("R","A","T","A","T","O","U","I","L","L","E")

 

{consonants($a)} will return "R, T, T, L, L"

 

•The consonants command will often be combined with unique or sort
•The consonants command understands English and Greek consonants
•y is not treated as a vowel OR consonant with this command.