Chat search with keyword highlighted

image

first image --> whatsapp
second image --> my app

i am looking to create a search functionality like whatsapp in which the keyword is highlighted during search. This feature is provided for IOS but seems not available for android.

any help on this?