Hopefully this is what you're looking for. It depends on exactly what you want if there is more than one item - so added a few variations.
Initialize variable contains your data.

Select uses the following expressions to extract out each of the items including trimming any spaces.
//From
split(variables('data'), ',')
//Map
trim(item())

Below are three different variations depending on what you're looking for.
Option 1: Join with new line character
This option would use a Join action to join the items with a new line character.
//From
body('Select')
//Join with
decodeUriComponent('%0A')

Option 2: Join with </br> tag (will split the data in any HTML output including email)
This option would use a Join action to join the items with a </br> tag.
//From
body('Select')
//Join with
<br>

Option 3: Output as array of items, or if one item, a single item
This option uses a Compose with the following expression.
if(equals(length(body('Select')), 1), first(body('Select')), body('Select'))

Examples using the numbers "405, 402, 518" for Join New Line, Join BR, and Compose respectively.



Examples using the numbers "405" for Join New Line, Join BR, and Compose respectively.



Examples using the numbers "All" for Join New Line, Join BR, and Compose respectively.



----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.