Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Tip for splitting very long string ?

From: richard::coffre::francetelecom::com at: 15-Apr-2002 11:24

Hi Rebol fellows, Is there a tip to quickly split a very long string more than 2000 characters into n characters sub strings and to create a list with these subsets ? For instance : str: copy "azertyuiopqsdfghjklmwxcvbnazertyuiopqsdfghjklmwxcvbn" I want to split this string into substrings of 5 characters to have a-list: [ "azert" "yuiop" "qsdfg" "hjklm" ...] TIA Richard Coffre France Telecom Orbiscom T=E9l. : 01 47 61 46 28