emailvision_Sup
14 years agoOccasional Contributor
ignore tab and space in a property for FindChild
Hello,
I would like to know if there's a way to use wildcards/regexp in order to make a findFindchild on a property.
My aim is to find out some objects based on their properties but with a name like "share" I would like to find for example a link even if the property that I'm checking contains tab or space characters before/after "share".
For example I would like to get with myProcess.FindChild("innerText","Share",10) an object even if it's innerText property is " Share" or " Share " ...etc.
I've looked wildcards/regExp but I don't know how to use it for that purpose.
If someone have an idea :).
Thanks for your Help
Nicolas.
I would like to know if there's a way to use wildcards/regexp in order to make a findFindchild on a property.
My aim is to find out some objects based on their properties but with a name like "share" I would like to find for example a link even if the property that I'm checking contains tab or space characters before/after "share".
For example I would like to get with myProcess.FindChild("innerText","Share",10) an object even if it's innerText property is " Share" or " Share " ...etc.
I've looked wildcards/regExp but I don't know how to use it for that purpose.
If someone have an idea :).
Thanks for your Help
Nicolas.