Maxima Function
ssubstfirst (new, old, string)
ssubstfirst(new,old,string,test)
ssubstfirst(new,old,string,test,start)
ssubstfirst(new,old,string,test,start,end)
Like subst except that only the first substring that matches old is replaced.
subst