That worked. Thx. Halfway there.
I returns a bunch of stuff, then at the end:
Profile created successfully. Profile id is 40e7de3e-4d8d-44e6-97dd-b287a95d8784.
The period at the end is not part of the profile id. I've run a couple. Not entirely sure yet if they always have the same number of characters, but even if they are I suppose that could change, so it would seem the best way would be to look for everything after "Profile id is " and then ditch the period at the end.
Reading through all string functions now and trying to piece that function together. Not seeing how to do this with only the string handling functions listed. Is this a case for RegEx? Poring through anything I can find on RegEx online currently, but it's a ton of info, and not sure if it all works in MS or if there is a simpler way to do this.
I tried reading anything I could on here for info as well. I get the general impression it looks something like this based upon the my favorite regex post:
(look for everything between "Profile id is " and "." ) But not sure how that passes to a MS var, and error says the function is looking for 6 parameters.