Newsletter
Advertiser Disclosure
Architecture
Databases
Enterprise
.NET
Java
OpenSource
Mobile
Web Dev
DevXtra Blogs
Daily News
Tips Bank
eBook Library
Subscribe
Twitter
Full Site
RSS
Copyright 2021 © QuinStreet Inc. All Rights Reserved
Search
SEARCH
Submit
DevX Tips Bank: String Manipulation
Using the String.join Method to Concatenate Strings
Language: .NET, Expertise: Intermediate - Learn how to use the …
Check Whether a String Contains Another String
Language: .NET, Expertise: Intermediate - Learn how to perform a valid …
Case Insensitive Comparison of Two Strings
Language: .NET, Expertise: Intermediate - We often compare two strings …
Avoid the XML Encoding Trap
Language: Java, Expertise: Beginner - Learn why it is not a good idea …
Easily Create a String of Repeated Characters
Language: .NET, Expertise: Intermediate - Use the string class's …
A Simple Password-Checking Routine
Here's a simple password-checking routine that ensures that the user-entered password …
Convert a Delimited String to a Generic
List<string>
Split the string at the delimiter and then add each item to a new string list.
Using
String.split(String)
vs. Using a StringTokenizer
It's not always safe to use String.split(String). Consider using the String …
Comparing Constant Strings with String Variables
Avoid NullPointerExceptions by comparing string constants with string variables—not …
Displaying Embedded Newline Characters from ASP.NET Resource Files
Embedded newline (\n) characters don't display properly in the browser, but a …
Create an XML File or XmlDocument Directly from a StringBuilder
Creating an XML file (or XmlDocument object) using a StringBuilder is easier than working …
Build a Custom Formatter for a Java.util.logging Logger
See how to develop a custom log formatter and customize the formatter for your logging …
Handling Null Session and Request Variables
In ASP.NET, if you try to use a session or request variable before it has been set, you'll …
Use GetBetween to Parse a String Between Two Strings
This tips shows how to use GetBetween to parse a String between …
Truncate a Path String
Currently, there is no .NET class that provides this functionality. The workaround is to …
Older Articles
Home
Mobile Site
|
Full Site