[SR-Users] PVs in Regular Expression Transformations

Juha Heinanen jh at tutpro.com
Tue Apr 20 19:16:07 CEST 2010


Daniel-Constantin Mierla writes:

 > Does not make lot of sense in my opinion since it is very easy to do 
 > with substr:
 > 
 > head: {s.substr, 0, len}
 > tail: {s.substr, -len, 0}
 > 
 > striptail requied computation of the length and use of that in substr, 
 > making it a bit too complex.

yes, striptail did, but strip is just {s.substr, len, 0}.

-- juha




More information about the sr-users mailing list