How can I rename the Listing prefix which is standing before the number of it? So I would like to rename "Listing ##" to "Something ##". I hope you understand me

NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
LaTeX Error: \lstlistingname undefined.
Code: Select all
\usepackage{caption}
\DeclareCaptionLabelFormat{something}{#2.#1.}
\captionsetup[lstlisting]{labelformat=something}
NEW: TikZ book now 40% off at Amazon.com for a short time.