String manipulation

Discussion in 'Cadence' started by eric.d.fitzsimmons, Apr 10, 2009.

  1. All,

    I am having a hard time getting the format I need from a string. From
    ("|I13.sc_buck_core_2_stps.clk1 - net050")

    I need

    ( "|I13" )

    but get....

    EFInstanceNetsForm->EFListBoxField->value=("|
    I13.sc_buck_core_2_stps.clk1 - net050")

    EFprobeinstVar=car(parseString(car(EFInstanceNetsForm->EFListBoxField-
    "|I13"

    A solution using manipulating the output "|I13" would be fine with me,
    or using car, cdr, etc...

    Any and all help would be appreciated!
    Thank you,
    Eric
     
    eric.d.fitzsimmons, Apr 10, 2009
    #1
  2. eric.d.fitzsimmons

    markbe Guest

    Have you considered using regular expressions?
    e.g.
    rexMatchp() and rexSubstitute()
     
    markbe, Apr 10, 2009
    #2
  3. I found a way. I am relatively new to skill, I haven't used either
    one but will review the functions.

    Thank you,
    Eric
     
    eric.d.fitzsimmons, Apr 10, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.