Help using Base SAS procedures

can some on explain: prxchange('s/^\x00+ +$/ /', -1,my_column) as changed_column

Reply
Occasional Contributor
Posts: 19

can some on explain: prxchange('s/^\x00+ +$/ /', -1,my_column) as changed_column

prxhange('s/^\x00+ +$/ /', -1,my_column) as changed_column

I understand it as prxchange('substitute/pattern,/replacement/',until end of source, my_column) as changed_column, am I right?

can some one explain the pattern /^\x00+ +$/ ?

Valued Guide
Posts: 3,208

Re: can some on explain: prxchange('s/^\x00+ +$/ /', -1,my_column) as changed_column

did you google for the perl regular expressions?

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 1 reply
  • 158 views
  • 0 likes
  • 2 in conversation