Next: Upper and lower case
Up: String manipulation
Previous: String manipulation
In[4]:= FortranAssign[Sin[x],AssignReplace->{"sin"->"dsin"}] Out[4]//OutputForm= dsin(x)The replacement is literal in the sense that exact character sequences are substituted and should be used with caution. In this example an ANSI FORTRAN function is not obtained.
In[5]:= FortranAssign[ArcSin[x],AssignReplace->{"sin"->"dsin"}] Out[5]//OutputForm= adsin(x)