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

Home » Public Forums » archive » Adding values to a string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Adding values to a string [message #49039] Thu, 08 June 2006 13:24
rafaloos is currently offline  rafaloos
Messages: 15
Registered: January 2006
Junior Member
Hi ...
I have a string like this:

'M5A,060530,181005,4302003340bf,1149012,,,,,15.70765,893.439 514,7.73610973'

As you can see this string has some extra commas. Values were supposed
to be in between these commas, but they are not.

I want to ADD some zeros in the above string so that in the end my
string will be like this:

'M5A,060530,181005,4302003340bf,1149012,0,0,0,0,15.70765,893 .4395141,7.73610973'

Is there a easy way to do that ?

Thank you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: End Statement Syntax Problem
Next Topic: Re: Adding values to a string

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

Current Time: Wed Oct 08 15:10:48 PDT 2025

Total time taken to generate the page: 0.00591 seconds