VMD-L Mailing List
From: Prathit Chatterjee (pc20apr_at_REMOVE_yahoo.co.in)
Date: Wed Jun 03 2020 - 22:56:41 CDT
- Next message: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Previous message: Oleg Stroganov: "VMD crashes when files are drag-and-dropped - any resolution?"
- Next in thread: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Reply: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD experts,
This is regarding selecting selected characters of a variable with tcl scripting in VMD.
I want to select first few characters of a variable, for example, first three characters (app) of the variable "apple":
======
vmd > set a apple
apple
vmd > string length $a
5
======
I am trying to play around with the command string but could not figure out so far.
Any relevant comments/suggestions will be greatly appreciated.
Thank you in advance,
Regards,
Prathit
- Next message: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Previous message: Oleg Stroganov: "VMD crashes when files are drag-and-dropped - any resolution?"
- Next in thread: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Reply: Ashar Malik: "Re: Selecting first three characters of a variable with tcl in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]