Motivity Labs interview question

Write a program to print only alpha numeric values in a string