adding functional primitive string stream search