Skip to content

Commit

Permalink
Add documentation for $ as interpolation operator. (#34035)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 authored and fredrikekre committed Dec 10, 2019
1 parent 1dbccbd commit a633deb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,23 @@ julia> A'
"""
kw"'"

"""
\$
Interpolation operator for interpolating into e.g. [strings](@ref string-interpolation)
and [expressions](@ref man-expression-interpolation).
# Examples
```jldoctest
julia> name = "Joe"
"Joe"
julia> "My name is \$name."
"My name is Joe."
```
"""
kw"$"

"""
const
Expand Down

0 comments on commit a633deb

Please sign in to comment.