Hi all, How can I use leSearchHierarchy in conjunction with square bracket? I think if I can manage a '\' in front of '[, it may work. But I have very hard time adding this stupid character into the string. Any tips please? tnk
Wild guess without trying it - you might need to use a double \ (i.e. \\[). If I remember rightly, the layout search uses regular expressions - and so you need to escape the [] which are regexp metacharacters. However, backslash has special meaning in strings (like in C), and so you need to escape the backslash too... Not sure this is right - give it a try though. Regards, Andrew.