Translate 1234567 to 1.23.456.7

Hey Guys, im trying to get this to work for me… I just uploaded a picture of this that should give you an idea of what im trying to achive, the script is still very simple, so dident bother to upload it :slight_smile:

Just for summing up, im trying to get a parameter from a family, and in this case it is a number, i then want to put in som . at specific places between the numbers.

Thx in advantage :slight_smile:

String from Object + String.Insert should do it
See other examples here:
http://dynamoprimer.com/en/04_The-Building-Blocks-of-Programs/4-4_strings.html

1 Like

image

3 Likes

See also the Dynamo Dictionary: http://dictionary.dynamobim.com/#/Core/String
String-join

4 Likes

@Phanse17 You could also do it in a code block

2 Likes

string formatting might be a more functional way to do the above:

image

4 Likes

Thx, for the help everybody… Many good inputs… Thx a ton :slight_smile:

1 Like