Needed quality freeware library for manipulating strings...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can any one recommend a good VB.NET freeware library that offers lots of string related functions that aren't present in the standard .NET framework?
 
Can any one recommend a good VB.NET freeware library that offers lots of string related functions that aren't present in the standard .NET framework?

What type of string manipulation do you need? Have you looked at all the
methods offered by the String and StringBuilder classes? What
functionality do you need that is not present?
 
Things like a binary representation of an integer as a string (hex too whilst we're at it
The left or right of a string from any one of a set of specified characters. (don't say regular expressions
Basically just stuff that might save me the hassle of writing functions and defining regular expression objects for common situations.
 
* "=?Utf-8?B?QWVyeW4=?= said:
Can any one recommend a good VB.NET freeware library that offers lots
of string related functions that aren't present in the standard .NET
framework?

'System.Text.RegularExpressions.Regex'.
 
* "=?Utf-8?B?QWVyeW4=?= said:
Things like a binary representation of an integer as a string (hex too
whilst we're at it)

Have a look at the overloads of 'Convert.ToString'. There you can
specify a base to which the number will be converted in its sting
representation.
The left or right of a string from any one of a set of specified
characters. (don't say regular expressions)

'Strings.Left', 'Strings.Right', 'Strings.Mid'.
 
Hi Aeryn,

When you are looking for that I would not look for freeware, there is so
much in dotNet that it seems endless. However it'is so much that it's not
always easy to find the best.
Things like a binary representation of an integer as a string (hex too
whilst we're at it)
http://msdn.microsoft.com/library/d.../html/frlrfsystembitconvertermemberstopic.asp
The left or right of a string from any one of a set of specified
characters. (don't say regular expressions)

This one is a standard not only for the net however the possibilities for
that especially in VB.net very extended because there is that extention from
the single Net namespace what is the Microsoft.VisualBasic namespace which
holds also a lot of those funcions (it is a full part of dotNet). Beneath
one sample with the standard Net namespace.

dim mystring as string = mystring.substring(0, mystring.indexof("myval"))

I hope this gives you an idea?

Cor
 
Back
Top