Next: Controlling line breaking Up: String manipulation Previous: String replacement

Upper and lower case

Case conversion is used for translating expressions to lower case in C (see section ). Also, certain FORTRAN compilers (specifically MSDOS) require that all characters be specified in upper case.


In[4]:= FortranAssign[y,Sin[2 Cos[x + Log[y]]],AssignCase->Upper]

Out[4]//OutputForm=
          Y=SIN(2.D0*COS(X+LOG(Y)))


bondaren@thsun1.jinr.ru