Posts: 484
Threads: 49
Joined: Feb 2011
strfing(const string[],const sub[],bool:ignorecase=false,pos=0)
Here is defined only starting position, but i need some function with start and end postions, and also i need function to find char at exact position...
Is there any written solution for this?
Posts: 484
Threads: 49
Joined: Feb 2011
Quote:
Originally Posted by Vince
strfind only finds a string within another string. I believe you're looking for strmid?
|
I need to find string1 into another string2 but i want to define start and end postition in strgin2 in which i'm looking for string1. Do you understand me now?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Oh, ok, I get it. I think the best way to go about it is: store the part of string1 you want to check into the temporary string with strmid. Then use strfind in the temporary string to get what you want.
Posts: 484
Threads: 49
Joined: Feb 2011
I made that minute before your post

, but thank you so much however. rep+