Hi, it's not a bug but a request for help,
suppose
s="^^^This^is^a^^^^test^^with^^^^^lot^of^blanks^^^^at^beginning^and^^^end^^^^^^"
suppose from="^^^"
suppose to="^"
I need a function who can replace ("^^^" to "^"), or ("^" to "^^^^^^^^") or ("" to
"blabla" with limits of source size) ie: without being lost in infinite loop.
"s" is a character vector, "from" is a character vector, and "to" is a
character vector,
both "s", "from" and "to" can be "".
I'm pretty sure this idiom already exist.
if you can help me, please do.
Xtian.