# Find number in a string

**URL:** <https://forum.kirupa.com/t/find-number-in-a-string/81629>\
**Category:** Uncategorized\
**Created:** [March 3, 2005, 8:45pm UTC](https://forum.kirupa.com/t/find-number-in-a-string/81629 "2005-03-03T20:45:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![afmaury](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@afmaury](https://forum.kirupa.com/u/afmaury)\
**Post date:** [March 3, 2005, 8:45pm UTC](https://forum.kirupa.com/t/find-number-in-a-string/81629/1 "2005-03-03T20:45:11Z")

</div>

I want to take a string that contains numbers and search for a specific number within that string.

For example, my string is “0 1 3.” I want to check to see if the number 3 appears within this string. Any ideas as to how I can do this?
