I have the following in my script :
function processurl
{
}
some_text%%%url1%%%url2%%%url3%%%
with number of urls varying between 0 to any finite number (in case of 0 the string is some_text%%%)
I want to apply processurl to the urls and give the output as :
some_text%%%processurl url1%%%processurl url2%%%processurl url3%%%
Any clues on how to do this?