python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Removing variable text between braces from a string
I need to remove all text between the braces { and } (the braces included) and I don't know in advance which text is between them nor how long the text is.
Example:
AA {some text here } BB { some othe...
Saskia Hermans
Votes: 0
Answers: 1
How do I auto generate multiple VMD representations from a list of ids in tcl script
I am new to tcl. I have the basics down but I hope to get better. I have a list of lists of ids that I want to select from a molecule for visualization. I want to apply different coloring to each rep ...
newtcler
Votes: 0
Answers: 0
Using tcl split to solve `list element in braces followed by "]" instead of space` causes `unmatched open brace in list`
(This is from a nagelfar plugin -- it's a tcl analyzer written in tcl, which is why $x contains tcl code.)
In tcl shell:
% set x {proc {::$p} args {[subst { foo }]} }
proc {::$p} args {[subst { foo }]...
spraff
Votes: 0
Answers: 1
Passing a dictionary value to and fro in TCL
I am trying to write a script which uses a dictionary value to store some data. I am then using the same dictionary value to a procedure for further processing. It looks something like this :
proc tes...
manju sharma
Votes: 0
Answers: 1