Hi,
I have a string variable with the following format:
v_str="$The Order Number is 0123456789*****$"
and I want to write a script to replace the "0123456789" with another number, say, "6543", after replacement, the new string length have to be same as the old string length, i.e.
the new string should look like:
"$The Order Number is 6543***********$"
the new string have to be assigned to another shell variable v_new_str.
Can somebody help?
Thaks!
Victor Cheung