Snippets tagged “tostring”
2 snippets use this tag.
- StringBuilder vs String concatenation in toString() in JavaJava
In Java, you can use either a StringBuilder or string concatenation to create a string representation of an object.
- What is the PHP Equivalent of .NET/Java's toString()?PHP
Here is a short tutorial representing to you the most accurate PHP equivalent of .Net/Java’s to string. Read it carefully and check out the examples.