[Tex/LaTex] How to insert multiple hspace into one row line

line-spacingspacing

I am trying to put multiple hspace into one line of text to get something like this:

Picture

So I want that the "where the customer can…" comes exactly under "In the Date Control". How can I solve this?

My Latex code is this:

\hspace{4mm}\textbf{Date Control}  \hspace{4mm}| \hspace{4mm}In the Date Control box the \textit{dateRangeInput()} function has been inserted, where the customer can select by clicking on the left and right date between a date period (from - to).\\

Best Answer

Two other possibilities, with linegoal and tabularx respectively:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lipsum} %
\usepackage{linegoal}
\usepackage{tabularx}

\begin{document}

\lipsum[1] %
\noindent\hspace{4mm}\textbf{Date Control} \hspace{4mm}| \hspace{4mm}\parbox[t]{\linegoal}{In the Date Control box the \textit{dateRangeInput()} function has been inserted, where the customer can select by clicking on the left and right date between a date period (from - to).\\}
\lipsum[2]

\noindent\begin{tabularx}{\linewidth}{@{\hspace{4mm}}>{\bfseries}l@{\hspace{4mm}|\hspace{4mm}}X@{}}
Date Control & In the Date Control box the \textit{dateRangeInput()} function has been inserted, where the customer can select by clicking on the left and right date between a date period (from - to).\\
\end{tabularx}

\end{document} 

enter image description here