Question
I would like to take the name of a topic and remove the last 5 characters from it and then use the text as part of a title in my topic.
Is this possible using any of the existing variables in twiki?
Thanks
Environment
--
GregGardinier - 01 Sep 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Hmm I had done something by accident that I noticed. I had changed the name of the folder of the web to deleteme while I had edited a copy of it. I thought that it wouldn't show up on the webleftbar if I changed the name. I went to the wiki and notice that there was a new web added called delete me. You can try just editing the name in twiki/data and see what happens. Let me know if that did it.
--
StephenGarriques - 02 Sep 2007
I don't see how this is at all related to the issue. I want to dynamically take text and modify just the last 5 characters of a string. Regardless of its length. This would require using a some kind of variable.....
--
GregGardinier - 02 Sep 2007
oh sorry I mis-read your question
--
StephenGarriques - 02 Sep 2007
Yes, use a
SpreadSheetPlugin formula. Cutting off last 5 chars of this topic:
ModifyTextSt (look at raw text to see how this works.)
We use this in the Plugins web to point from the
FooBarPluginDev topic back to the
FooBarPlugin topic.
--
PeterThoeny - 03 Sep 2007