EdwardBrian Posted March 12, 2011 Share Posted March 12, 2011 I'm sure this is an easy one, just not finding it. I'd like to take a string like "0-6:2 ,10" and expand that into a flattened list: "0 2 4 6 10" I found: //OP_Node.h // The following function will take a standard pattern and expand 00386 // all the groups out of the pattern, leaving a simple pattern 00387 // in the result. 00388 bool expandGroupPattern(const char *pattern, 00389 UT_String &result, 00390 bool expandToFullPaths = false); I didn't seem to do anything other then just return the same pattern to me. Maybe this is more for group name patterns. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.