To phylum
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Function Syntax
phylum to_phylum(string name )
- name is the phylum name to convert
Converts the specified string name to a phylum. Does not account for case sensitivity and partial matches.
Code Samples
Following example shows basic to_phylum operations.
string first, second, third;
first = "FiSh";
second = "human";
third = "humanoid";
print(first+" gives "+to_phylum(first)+".", "blue");
print(second+" gives "+to_phylum(second)+".", "blue");
print(third+" gives "+to_phylum(third)+".", "blue");
It gives the following output.
FiSh gives none. human gives none. humanoid gives humanoid.