Chat search with keyword highlighted


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?

How can I do it with my SP WhatsApp also…?