# Find similar string

**URL:** <https://forum.kirupa.com/t/find-similar-string/133585>\
**Category:** Uncategorized\
**Created:** [January 10, 2005, 9:14am UTC](https://forum.kirupa.com/t/find-similar-string/133585 "2005-01-10T09:14:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NovemberRain](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Post date:** [January 10, 2005, 9:14am UTC](https://forum.kirupa.com/t/find-similar-string/133585/1 "2005-01-10T09:14:23Z")

</div>

I’ve two text boxes to enter two string. How can i find the similar characters that the user entered

For example

First text box : jain  
second text box : claton

Two “a” appers on the two strings. That is in the first entry’s second position and the second entry’s third position. How to find out any similar characters inside the entry
