string mp - checks if alphabet can form given string