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

Home » Public Forums » archive » strsplit vectorized
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
strsplit vectorized [message #85835] Thu, 12 September 2013 12:33 Go to previous message
spluque is currently offline  spluque
Messages: 33
Registered: September 2013
Member
Hi,

I realize that strsplit() only takes a scalar for its first argument string. I would like to have that operation done on all the elements of a string vector. The vector contains time stamps (e.g. '2013-09-10 00:00:00'), that I am trying to replace by the concatenation of each component (e.g. '20130910000000' in the preceding example). How can this be done without a complicated loop?

Thanks,
Seb
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inverse hyperbolics?
Next Topic: generating sequences

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

Current Time: Wed Oct 08 13:33:19 PDT 2025

Total time taken to generate the page: 0.00297 seconds