Hi all
I've a DB with several strings (+-500) in it, all of the same length. The last string is 99999
STRING[5]=HELLO
STRING[5]=...
STRING[5]=99999
Now, i've to look up all that strings in another string (STRING_TEXT = STRING[50] )with the FIND function. If a string is found, i'll use the Return function (only one string has to be found). I'm searching for a method to search for all strings of the DB in a easy way. Is this possible with pointers? How do I do this? I'm using S7.
Thanks!
I've a DB with several strings (+-500) in it, all of the same length. The last string is 99999
STRING[5]=HELLO
STRING[5]=...
STRING[5]=99999
Now, i've to look up all that strings in another string (STRING_TEXT = STRING[50] )with the FIND function. If a string is found, i'll use the Return function (only one string has to be found). I'm searching for a method to search for all strings of the DB in a easy way. Is this possible with pointers? How do I do this? I'm using S7.
Thanks!