Skip to content

Instantly share code, notes, and snippets.

@javadghane
Last active February 4, 2017 07:00
Show Gist options
  • Save javadghane/bb1d994e2603e975372821e2962a9b83 to your computer and use it in GitHub Desktop.
Save javadghane/bb1d994e2603e975372821e2962a9b83 to your computer and use it in GitHub Desktop.
# replace arabic YA & KA with persian for autocompletetextview android
@javadghane
Copy link
Author

public static String replaceArabicCharacter(String arabic) {
        return arabic.replace("ي", "ی").replace("ك", "ک");
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment