Can write StrFind like this way no clue and is not a comma-separated so can’t use StrExtract for that reason loop out of my mind.
As usual whenever you post this code snippet, I learn something new.
@Fossil I'm not quite sure if I understand what you mean but my code seems to be working fine and it's a really simple solution - all logic in just one line... You can easily convert it to a function or run in a loop ..
@fxshrat sometimes I'm told, that I take things too personally, but the same applies to you. All I was saying is that my solution is a lot simpler and can be used right away. I doubt if yours is very useful to Fossil, because it needs being acquainted with C/C++ and ADK. I was helping Fossil a few days ago (via PM) and I'm not under the impression that he is familiar with such things and able to build DLL on his own.
I am aware of the fact, that you think that people like me - who don't know C++ and ADK are stupid, but there is no reason to write about, because I have already acknowledged your coding skills supremacy on many different occasions.
@tomasz thank you for the example codes! Using Asc() function has crossed my mind in this context, but I haven't tried it. I've choosen already tested solution
Well said @Milosz. Just a reminder that this forum is not really into "who is the supreme coder" thing. Less-than-ideal codes are perfectly fine and appreciated as long as they get the job done. And last but not least - you definitely underestimate your own coding skills @Milosz
Tomasz, thank you, but I know my place in the line. There are many better coders than me on the forum - we can see their posts every day (unfortunately some of them are not very active).
My role is definitely not to challenge anybody when it comes to coding skills. I'm a trader - not a coder! I'm just trying to help others, learn new stuff and do whatever I can to stimulate the development of AmiBroker
I have also written it many times - I really appreciate the input of all those users who write informative replies - I have been learning a lot from such posts.
Sorry guys but the exchange that happened in last 5 posts is completely unneeded and does not bring anything to the subject matter. The forum is not a place for 'battle of egos'. I am closing this thread. Your posts have been moved to private messages.