473,795 Members | 2,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Needed quality freeware library for manipulating strings...

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?
Nov 20 '05 #1
5 1110
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.
Nov 20 '05 #2
* "=?Utf-8?B?QWVyeW4=?=" <an*******@disc ussions.microso ft.com> scripsit:
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.ToStri ng'. 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'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
* "=?Utf-8?B?QWVyeW4=?=" <an*******@disc ussions.microso ft.com> scripsit:
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.Re gularExpression s.Regex'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
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/de...mberstopic.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.Visua lBasic 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.substr ing(0, mystring.indexo f("myval"))

I hope this gives you an idea?

Cor
Nov 20 '05 #5
"Aeryn" <an*******@disc ussions.microso ft.com> schrieb
Things like a binary representation of an integer as a string (hex
too whilst we're at it)


System.Convert. ToString(value, 16)
System.Convert. ToString(value, 2)

System.Convert. ToInt32(value, 16)
System.Convert. ToInt32(value, 2)
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

67
4285
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. Unfortunately these ad hominem rhetorts are frequently introduced into purely technical discussions on the feasibility of supporting such functionality in C++. That usually serves to divert the discussion from the technical subject to a discussion of the...
12
2984
by: Bill Hanna | last post by:
C is inadequate for embedded systems for the following reasons: 1) Direct addressing of memory mapped I/O is not supported simply and easily. You have to find work-arounds that are compiler dependent. You have to create macros , use casting and use indirect addressing (pointers) to read or write to memory mapped I/O. 2) C does not support real time interrupts. The interrupt vectoring is compiler dependent.
2
1521
by: Jon Schwartz | last post by:
Hello, and happy holidays! My company has bundled up a bunch of our own controls and components as freeware developer downloads. They've been hot downloads for the last few months mainly through blog reviews and word-of-mouth, but I just realized we hadn't yet posted on any of the developer forums about them! The ASP.NET controls and components include: 1) enhanced Calendar, DatePicker, ComboBox, ListBox and DropDown ASP.NET controls,...
0
987
by: Jon | last post by:
We have a asp.net app that runs like the following in a single-site scenario. Directory structure: c:\inetpub\wwwroot\myapp - aspx files, global.asax and web.config c:\inetpub\wwwroot\myapp\bin - myapp.dll, strings.dll (localized strings), library.dll c:\inetpub\wwwroot\myapp\UserControls - ascx files c:\inetpub\wwwroot\myapp\TextBlocks - large localized text blocks in html format
2
3678
by: Andrew Baker | last post by:
Coming from VB, I find the changes needed to manipulate a datagrid are much more taxing than previously. Is there a good tutorial for things like: Setting the column widths making the grid uneditable making the whole row highlight when selected There are a number of posts but as I am trying to learn on my own, they are
4
2165
by: Claudio Grondi | last post by:
In todays posting "Any wing2.0 users here?" I found in the sentence "What can you say about this IDE? He say's 'if I think it could improve my productivity he's willing to buy it for me." the indirect question: Can a better Python IDE increase programmers productivity?
10
1457
by: Lebowski | last post by:
Problem i have records like these: name quantity quality A 5 2.5 B 4 1 B 3 2 C 1 1.5 .... ... ...
2
1128
by: Lebowski | last post by:
Hi, i need your help again. I know my problems are v. easy for you, but i'm beginner in access and need a solution. I have a table like this (there is only one record for each product, but one or more record for each average quality, there are also two warehouses: #1 and #0). Product Average Warehouse name Quality A 1.5 1
1
1276
by: Imbaud Pierre | last post by:
for each library/module or even application, a note in in front of every quality criterium. criteria?: completeness robustness how well tested? simplicity documentation maintenance team responsiveness usage: how many developpers picked it up and still use it? how many picked it up but gave it up?
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10002
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7543
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.