Well, try something like
s/$/ + /; s/^\(.\{1,100\}\).*/\1/;
The first substitution has 100 or more spaces on the rhs.
In reply to Re^6: How to convert a string with regex to a string with a fixed length?
by ambrus
in thread How to convert a string with regex to a string with a fixed length?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |