# Problems with unity pro extract one character from string

**URL:** <https://forumautomation.com/t/problems-with-unity-pro-extract-one-character-from-string/2704>\
**Category:** Industrial Automation\
**Created:** [November 23, 2017, 8:07am UTC](https://forumautomation.com/t/problems-with-unity-pro-extract-one-character-from-string/2704 "2017-11-23T08:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![osman](https://forumautomation.com/user_avatar/forumautomation.com/osman/32/3966_2.png) [@osman](https://forumautomation.com/u/osman)\
**Post date:** [November 23, 2017, 8:07am UTC](https://forumautomation.com/t/problems-with-unity-pro-extract-one-character-from-string/2704/1 "2017-11-23T08:07:34Z")

</div>

I have tag data type is String consist of 22 characters, i want to extract one character and convert into Int to do some calculations, i have used( MID\_INT) Function Block extracts a sub-string of characters starting from a certain rank. The result is a character string but I want to put in Array of strings or Array of Bytes and then take every Byte or character to do some calculations. Summarization: how I can extract one character from string[n] composed of set of characters (n) is number of characters Is There any function Block can i use it? Thanks
