I'm having a hard time relating to this (isolation, minimal test case etc.), so I'll just address the symptoms as mentioned in the topic:

Removing newlines from [title]

Tiddler titles aren't supposed to contain line breaks, but let's ignore that for now. You want is the trim method, which removes all whitespace from both ends of a string:
    title.trim()

adding space between tags

So you get a string from a prompt dialog and want to process it as a list of tags? That's what the readBracketedList does:
    input.readBracketedList()

HTH.


-- F.
-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to