I want to combine one command with a text string to represent a second command. In MatLab it would be possible to concatenate these two strings into one string and evaluate this new string. However I have no clue as to how this can be done in LaTeX. See my working example below:
\documentclass[10pt,a4paper,twosided]{article}
\begin{document}
\newcommand{\CaseID}{CaseOne}
\newcommand{\ProbabilityCaseOne}{1.00E-04}
\paragraph{The results for \CaseID}
\CaseID has probabilty \Probability\CaseID
\end{document}
The combination \Probability\CaseID
does not work as a synonym for \ProbabilityCaseOne
. How can I achieve a functionality like that?