Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9008

Re: String Export (Instr?)

$
0
0

Hi Jarrod,

 

Use this code:

 

stringvar s := {EZ_CONFIGURED_LINE_ITEM.CUD_STRING};

stringvar str1 := mid(s, instr(s,"USPipeCouplers"), instr(mid(s,instr(s,"USPipeCouplers"),len(s)),",")); //gets back USPipeCouplers and its values

stringvar str2 := mid(str1,instr(str1,"=")+1);

left(str2,len(str2)-1)

 

P.S: You can do this using arrays too, however I'm not suure about how long the inout string can be. Anyway, this works too.

 

-Abhilash


Viewing all articles
Browse latest Browse all 9008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>