Message 1 of 17
Select by prefix name
Not applicable
04-28-2011
09:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to select objects based on their prefix name.
Example:
I have a master control called "Bunnies_ctrl"
I have 3 helper objects called "Bunnies_helper"
I have 3 helpers objects called "Bunnies_temp"
First how do I collect the prefix of the selected objects name? I want to collect all the characters until i get to the underscore "_" so the result of the variable would then be "Bunnies"
Then I would use that variable to select the other helper objects. For example
select "Bunnies" + "_helper"
select "Bunnies" + "_temp"
The reason I want to collect the prefix is because it changes from "Bunnies" to "Donuts"
Example:
I have a master control called "Bunnies_ctrl"
I have 3 helper objects called "Bunnies_helper"
I have 3 helpers objects called "Bunnies_temp"
First how do I collect the prefix of the selected objects name? I want to collect all the characters until i get to the underscore "_" so the result of the variable would then be "Bunnies"
Then I would use that variable to select the other helper objects. For example
select "Bunnies" + "_helper"
select "Bunnies" + "_temp"
The reason I want to collect the prefix is because it changes from "Bunnies" to "Donuts"