Question: 10. Suppose the variable Svar has the value abc123abc. What is the value of Svar after the following substitutions? (4 points) $var s/[a-z] +/X/g; s/B/W
10. Suppose the variable Svar has the value abc123abc. What is the value of Svar after the following substitutions? (4 points) $var s/[a-z] +/X/g; s/B/W / i; s/ ( .) \d.1/d/s =~ svar =~ $var =~ svar =~ s/abc/def /
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
