Re: how to identify string between flower braces



Pat Thoyts wrote:
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


As posted, his data isn't a list. Count the braces.
.



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)