🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Convert a variable with elements {list lements + normal elems} to a string.

Jouher_20929User: "Jouher_20929"
Altair Community Member
Updated by Jouher_20929

I have a variable:

set a { 1} { 9} 10 12 13

 

here all single digits are in this format: Brace+ space+digit+brace

 

I have to convert this to a: 1 9 10 12 13

That is, I have to print the variable a with no space that precedes the single digit and should remove braces.

 

Please help me.

Find more posts tagged with

Sort by:
1 - 2 of 21