String manipulation

Guest
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-
value) "."))
"|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
 
Have you considered using regular expressions?
e.g.
rexMatchp() and rexSubstitute()
 
On Apr 10, 2:48 pm, markbe <mark.a.b...@gmail.com> wrote:
Have you considered using regular expressions?
e.g.
rexMatchp() and rexSubstitute()
I found a way. I am relatively new to skill, I haven't used either
one but will review the functions.

Thank you,
Eric
 

Welcome to EDABoard.com

Sponsor

Back
Top