What does the term String... string mean in Java? And how to construct a method that returns a String... as an example:
public String... getStrings(){
return String... s;)
}
I know it's not that way, but I wanted to know...
I need to replace a character at a certain position in String ().
Example - Change character [21] to 'X':
Original String = 01078989469150999134B B 2116456
Modified String = 01078989469150999134B X 2116456
I'm using the follo...
I am doing a query in the database via string sql.append , in the method call I have two parameters, two strings these receive a textbox typed by the user and do the verification in the database.
How do I concatenate correctly? Be...
The problem: I have a html formatted text and I need to count how many characters (ringtones for journalists) I have. I'll use JavaScript. Some solutions came to mind, but as this will be done repetitively, I decided to analyze better before lea...
I have a method that will receive a string in the format "June 15, 2001", for example, which is equivalent to the date to be compared, I need to pass this string to a DateTime, how would I do this conversion?
I'm trying to do a reflection in a program, however, at the time of picking the object type (which is needed for reflection) is returning "System .__ COMObject", and this is not useful. The method I tried was the following:
Type tipo = sim...
I have a List<string> that receives the phone number of all the contacts in the phone, until then without problem, but I want to perform operations with the elements of this list, but I have some problems.
An example of a possibl...
Hello,
When creating a string in a Java class (for example: String t = "Ola Java!" ), it seems the compiler is choosing the 'wrong' encode to interpret the bytes that are in the source and generate the String (the 'right' encode should...
While learning Delphi, I see implementations that use AnsiString , WideString , UnicodeString , ShortString , and String but do not know the difference between them.
Another thing that always occurs to me is that...
My question is how to get a string and manipulate it. The user will enter dd / mm / yyyy in the form of String . How do I do this capture? And then I need to turn that date into an integer so I can do the validations, such as if the repo...