Split string into specified size

khooweihiong
09-30-2009, 04:45 AM
Hi all,

Is there any way to split the string for every 160 characters and store them into string array? For example, a string contains 320 characters. So, the string will be split into two arrays which contain 160-character string each. Any suggestion?

Thanks.

OnErr0r
09-30-2009, 04:46 AM
Use Mid$ and a simple For/Next loop.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum