This code works fine when I enter a simple string like hello @amit. but it throws crash when I use emoji with @df. crash in the substring. when I get the text by substring i