2006-04-13 16:17:42 UTC
My general problem is this: I'm trying to peel a version number out of
a filename to insert into a text field in my document.
So, I might have a filename "blahblah_v1.2.vsd", and I want to be able
to trim that down to simply "v1.2".
I've been searching and searching for a "substr"-like function to use,
but I can't seem to find anything. The best I could find is REPLACE, so
I've come up with the following function for now:
I expected this would trim my example above down to "v1.2.vsd", from
which point I could use a similar function to delete the extraneous
However, after making the change to the shapesheet, my text box on the
visio doc hasn't changed... it's still holding the full filename (which
was my starting point).
Can anyone give me some pointers as to how to proceed? This is my first
shapesheet-editing venture and I'm likely misunderstanding something.
Thanks very much,