comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » spacing between characters
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spacing between characters [message #84874 is a reply to message #84872] Sat, 15 June 2013 02:26 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
On 2013-06-15 02:56, mkmvarma@gmail.com wrote:

> The string that I have is : 0.01 0.15 0.25 0.48 1.08 1.93 2.76 4.74 9.50
> I would like increase the spacing between each character (between 0.01 and 0.15 and so on).


IDL> a='0.01 0.15 0.25 0.48 1.08 1.93 2.76 4.74 9.50'
IDL> print,a
0.01 0.15 0.25 0.48 1.08 1.93 2.76 4.74 9.50
IDL> print,strjoin(strsplit(a,' ',/extr),' ')
% Compiled module: STRSPLIT.
0.01 0.15 0.25 0.48 1.08 1.93 2.76 4.74 9.50
IDL> print,strjoin(strsplit(a,' ',/extr),' ')
0.01 0.15 0.25 0.48 1.08 1.93 2.76 4.74 9.50
[Message index]
 
Read Message
Read Message
Previous Topic: export structure to an ascii file
Next Topic: Why is the content of my object graphics window being wiped?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:30:55 PDT 2025

Total time taken to generate the page: 0.39996 seconds