Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

Java/J2EE Forum
 

Open forum for discussing anything Java related. J2EE, JSPs, servlets, EJBs, JDBC, its all fair game and can be found in the Java/J2EE forum!


POST REPLY





Posted By: wanole   6/12/2006 11:59:00 AM
 
I need only the first 3 characters of what I have in company. What is in the option box (company array) is.

001- company 001
002 - company 002
etc...

I want all that displayed which comes from my database, but when they select which company, I only want the first three characters to go into variable "company".

I have tried company.substring(0,3) to no avail.
any ideas. here is the section of code.


Company:




 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005





 
© 2022 Ammastore.org
All Rights Reserved
COMPUTER SCIENCE HOMEWORK | Privacy/Disclaimer