Merge parameters - Base Level & text

Hi, I would like to merge base level and text in to new text parameter, i have got this list:

Level(Name=L 1, Elevation=3700), I just want to take L 1, is it possible?

Much appreciate for the help.
Intan

Hi,

One of the possible way:

thank you for your help,
so the code block should be created one by one? L1, L2…Ln? or possible to using ignoring case for text not to be used?

I found this very helpful, thank you.

It works, thank You Vikram & Kulkul…

You can use code block for multiple. Change lacing to longest to “String.Contains” node.

Kulkul, now i understand both of methods, thanks anyway…

Can you mark the post as solved. Thanks :slight_smile: