Can't assign String to Array of String
When you write String str[i]=in_str; that is wrong. You only write the type when you are declaring the variable, once. 

When assigning, you need only write the variable name, not the type: str[i]=in_str;