Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > Tasks and Techniques > String Manipulation

String Manipulation - Page 3

41-60 of 300     Previous     Next
Platform-independent New Line Characters
by MS Sridhar
Java provides a handle with which you can retrieve the specific new line character for the type of operating system you're working on.
Creating a StAX Filter for XML
by Leonard Anghel
This tip creates a StAX filter using the javax.xml.stream.StreamFilter interface.
Escape Sequences in .NET Resource Files
by Boris Eligulashvili
Learn how to escape sequences in .NET resource files.
Reverse a Numeric Value Without Using String Utilities in Java
by Elayaraja David
Find out how to use the NumberReverse to reverse a given number without using string utilities.
Dealing with Wildcard Characters in Oracle
by MS Sridhar
The ESCAPE keyword comes handy when you have a character in your data which is same as a Wildcard character.
Convert Descriptive Flex Fields to Numbers
by Kamlesh Jethwa
Often, data in Oracle applications is stored in extended columns known as Descriptive Flex Field (DFF) columns.
Determine How Many Times a String Is Found Inside Another String
by Zarko Jovanovic
This tip shares a fucntion that can help you determine how many times a string is found inside another string.
Retrieving a Domain Name
by Ryan Amschel
This VB function returns the DNS domain name from a passed LDAP.
Implementing the GetFreePhysicalMemory API in Linux
by Elsayed Elghadban
Because everything in Linux is composed of files, you can get any required information from the /proc/meminfo file.
Porting Code from Windows to Linux
by Elsayed Elghadban
This tip provides a substitute for the __strrev function, because it's not available under Linux.
Constructing Strings of Repeated Characters in T-SQL
by Srinath MS
Learn how to use the Repliciate() function to display a set of characters for a specified length.
Comparing Strings Properly in Java
by Sachin Kainth
Find out how to use the equals method to compare strings in Java.
Converting a String to a GUID
by Sachin Kainth
Learn about this simple way to convert a string, which is in the correct GUID format, into a GUID.
View the Bytecode Contained in a Java Class
by Jospeh Fernandez and Steve Simon
Find out how to use the 'javap' application (javap.exe) as a disassembler to view the bytecode inside a Java class.
Dynamically Remove HREF from the Anchor Tag
by Jaya Nehru Kumar
Find out how this simple JavaScript code dynamically removes the link from an anchor tag.
Read the Entire Text Element
by Amit Jain
SAXParser's specifications allow parsers to split text data into multiple arrays and call characters multiple times.
Using StringBuilder in .NET
by Steve Dunn
This code demonstrates an easy way to use StringBuilder in both C# and VB.NET.
Display Alert Messages on Separate Lines
by Santhi Maadhaven
Using '\n' in between words in your code allows you to display messages on separate lines.
An Efficient Method of String Concatenation
by Prasad Haridass
A good way to concatenate strings is to use the StringBuilder class.
Print the Stack Trace of the Exception to a String
by Sujata De
When an exception occurs, this code snippet will print the stack trace of the exception to a string. This way, the exception stack trace at runtime can be recorded in log file.
41-60 of 300     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date