Results 1 to 2 of 2
Thread: String array.
- 10-16-2011, 07:42 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 3
- Rep Power
- 0
String array.
Is there any method or function which I can use to store separate lines of a string in an array of strings? Maybe a string separator or something.
For example, if I have a file which has 5 lines in it, it should save the five lines separately in separate strings.
These are the lines that I want to store separately in separate strings.
<form method="post" action="/search-advanced.php">
Title:<input type="text" name="titlesearch" value="" /></br>
Sub-title:<input type="text" name="subtitle" value=""/></br>
Author:<input type="text" name="authorname" value=""/></br>
Notes:<input type="text" name="notes" value="" /></br>
Year:<input type="text" name="pub_date" value="" /></br>
to: <input type="text" name="pub_date_end" value=""/></br>
Language:<select name="language">
<option value="" selected="selected">All</option>
<option value="af">Afrikaans</option>
<option value="arp">Arapaho</option>
</form>
- 10-16-2011, 08:38 PM #2
Senior Member
- Join Date
- Oct 2011
- Posts
- 106
- Rep Power
- 0
Similar Threads
-
Intaking String and splitting into chars, returning individual chars as string array
By Gokul138 in forum New To JavaReplies: 1Last Post: 02-07-2011, 08:22 PM -
Changing a String array into a String?
By BennyJass in forum New To JavaReplies: 6Last Post: 01-16-2011, 02:42 PM -
create a 2d char array from a 1D string array
By jschmall12 in forum New To JavaReplies: 1Last Post: 04-27-2010, 09:01 PM -
Convert Char Array to String Array
By Mayur in forum New To JavaReplies: 8Last Post: 10-12-2009, 11:41 AM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks