Separate a string with multiple lines

@WSay

If you have the fixed structure then an easy solution is what @jeevith proposed

Else

If this input changes every time then you can take the solution of @NIVED_NAMBIAR

Hope this may help you

Thanks

3 Likes