String.Split with separator line feed (hex 0d 0a)

Hello everyone,

surely a simple problem:
with String.Split, “semicolon and line feed” should be used as separators.

How must the separator be entered?

Best regards

Rolf

Hi,

why does Dynamo show these results depending on the definition of the separators?

Best regards

Rolf

Why not use a String node instead? Just type the two values as you would in Revit (no hex needed).

Hi JacobSmall,

exactly the string node leads to a different result
String.Split1

than the string with code block
String.Split2

But why?

Best regards

Rolf

1 Like

When using the String node you provide enter as input (not \n)

2 Likes

Hi Vikram,

String node with “enter as input” - so that’s the simple explanation!

Many thanks to the always attentive forum specialist!

Best regards

Rolf

2 Likes