intStringFind( stringstring_value,//string string we are looking for stringmatch_substring,//what we are looking for intstart_pos=0// which position to start search );
Parameters
string_value
[in] String to search in.
match_substring
[in] Match_substring to be searched.
start_pos=0
[in] Position in the string where the search should be started.
Returned value
Returns position number in the string where the substring to be searched starts, or -1 if no substring is found.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
More than once I've seen such variables changed without any problemsin video tutorials.
I'd like to see it too, can I get a link?
Please give real clear and sensible advice
Post#13247
Can you tell me how to find an object by a name that is not full?
The indicator creates objects and gives them a name
Find the object and delete it if its price is lower than the current price
Can you tell me how to find an object by a name that is not full?
The indicator creates objects and gives them a name
I need to find an object and delete it if its price is lower than the current one
Is it?
StringFind
Search for substring in string.
intStringFind(
stringstring_value,//string string we are looking for
stringmatch_substring,//what we are looking for
intstart_pos=0// which position to start search
);
Parameters
string_value
[in] String to search in.
match_substring
[in] Match_substring to be searched.
start_pos=0
[in] Position in the string where the search should be started.
Returned value
Returns position number in the string where the substring to be searched starts, or -1 if no substring is found.
This?
Probably not...
or rather, I don't know how to link it to the object search.
I'm trying.
but it's not working.
Probably not...
or rather, I don't know how to link it to an object search.
I'm still trying.
but it just doesn't work(
stringObjectName(
intobject_index// number in object list
);
I suggest this:
Thanks, I'll try both now)
Made it like this.
Works flawlessly!
Thank you all)
Hello. Question about the cost of the item. I am doing this:
I get the same values on these two pairs. Is this how it works? Or is it a glitch?
Made it like this.
Works flawlessly!
Thank you all)
The cycle must be reversed. Otherwise there will be questions about why it didn't work perfectly.