DocumentationMathematicaBuilt-in FunctionsProgrammingRule Application
Further Examples: Rule (->)
The rule is used to replace each occurrence of x with the number 2.
In[1]:=
Out[1]=