Two Laptop Bag
The moose likes Java in General and the fly likes Array of Strings --- String Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Array of Strings --- String

Arun Moose
Greenhorn

Joined: Oct 29, 2008
Posts: 9
I'm trying to do the following.

1. Convert a string into an array of strings, with each element in the array can take upto 1000 characters.

Eg: Say the string has 1500 characters, then the array should contain 2 elements. 1st element of the array contains the first 1000 characters of the string. 2nd element of the array contains the remaining 500 characters.

2. Also i have convert this array of strings back into a string.

Can you please help me on this?

//Arun
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

Thanks,
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Array of Strings --- String
 
Similar Threads
Array of Strings -- String
Find min and max in ArrayList
Matching 2 arrays of strings
sum of two int arrays
for-each construct