Sign in to follow this  
Followers 0
fhanna

stringinstr, stringsplit in an array

3 posts in this topic

I know how to do a stringinstr and know how to work with arrays. What I don't know is the following:

I want to search a string (stringinstr) for a variable of more than 1 character. I would like to know the position of the string the first character of the search data occupies. When I do a stringsplit I will then know the first element the search data occupies within the array.

Any ideas? Your help would be appreciated.

Share this post


Link to post
Share on other sites



Found my answer. Should have looked at stringinstr more closely. If the string you are searching for is a success the starting position of the searched string is returned.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0