strcmp is used instead of strcmpi

string comparison is only true if upper and lower case letters match
New string segmentation

String segmentation has been updated and refined.
Minor changes to comments.