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

Home » Public Forums » archive » converting int array to a string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
converting int array to a string [message #28085] Tue, 20 November 2001 16:00 Go to previous message
Chad Bahrmann is currently offline  Chad Bahrmann
Messages: 7
Registered: September 2001
Junior Member
Is there an easy way to convert the following:

x=[1,2,3,4,5,17,45,46,47,48,49,50,51,59]
where x is minutes in an hour for example

to a string like:

minutes='1-5,17,45-51,59'

Thanks in advance,

Chad Bahrmann
[Message index]
 
Read Message
Read Message
Previous Topic: can i place a job advert
Next Topic: CW_BGROUP and NONEXCLUSIVE

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

Current Time: Wed Oct 08 16:58:23 PDT 2025

Total time taken to generate the page: 0.00383 seconds