Replace unknown characters in a Dynamo list

hello, how can I know what characters are used in a list of strings? I do not have a clue of what I got here in this example, I was thinking I see spaces but I try to replace string and it does not replace, then I thought it is a break line and no idea of replacing a break line.

[0] 
  
[1] 
  
[2] 
  
[3] 
    
[4] 
    
[5] 
    
[6] 
      
[7] 
        
[8] 
        
[9] 
        
[10] 
        
[11] 
        
[12] Empty List
[13] 
          
[14] 
            
[15] 
            

hello, you can plug object.type to see the nature of the items

Cordially
christian.stan

hello @ruben.romero
can you share yor script to see if we can help ?

try to see if these sequences are present ā€œ\nā€ see design guide screenshot

Cordially
christian.stan

2 Likes

@christian.stan

Do you have any practicle example where can i use that?

KR

Andreas

1 Like

it works the ā€œ\nā€ for break line, my list had break line plus spaces and I had a nightmare with it, simple answer

1 Like

Here

:wink:
Cordially
christian.stan

1 Like