Re: how to identify string between flower braces



tampabay.bucks@xxxxxxxxx writes:

Hi

I have a string which would be something like below :

set myStr "{8} {Security Configuration} {null} {}} {{9}"

I would to retrieve what is present inside the flower braces after
Security Configuration which is "null" in this case. Can i do this with
a regular expression ?

Think about lists.
lindex $myStr 2

--
Pat Thoyts http://www.patthoyts.tk/
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
.



Relevant Pages

  • Re: how to identify string between flower braces
    ... I have a string which would be something like below: ... I would to retrieve what is present inside the flower braces after ... Security Configuration which is "null" in this case. ...
    (comp.lang.tcl)
  • Re: how to identify string between flower braces
    ... I have a string which would be something like below: ... I would to retrieve what is present inside the flower braces after ... Security Configuration which is "null" in this case. ...
    (comp.lang.tcl)
  • how to identify string between flower braces
    ... I have a string which would be something like below: ... I would to retrieve what is present inside the flower braces after ... Security Configuration which is "null" in this case. ...
    (comp.lang.tcl)
  • Re: how to identify string between flower braces
    ... I have a string which would be something like below: ... I would to retrieve what is present inside the flower braces after ... Security Configuration which is "null" in this case. ...
    (comp.lang.tcl)
  • Re: Getting command line of another process
    ... It seems to be very complicated code just to retrieve the command line of a process. ... static public bool RetrieveUserModeProcessString(IntPtr HandleProcess, IntPtr PageBaseAddress, UInt32 UnicodeStringOffset, out string Result) ... UInt32 UnicodeStringSize = 8; ... pStringContent = Marshal.AllocCoTaskMemStringLength); ...
    (microsoft.public.win32.programmer.kernel)