Click here to Skip to main content
Licence 
First Posted 17 Jul 2003
Views 45,014
Bookmarked 13 times

.NET Chaînes Utilitaires (String Utils)

Classes Library for String manipulations in Your .NET projects

 

Introduction

This library has been made in the same time of the first i post :

This library has been made for work with strings and Url, but you can add a lot of classes as you like. This library has been made for present the concept of the Classes Library to Beginner .NET developers.

You have 2 Classes in this Library :

  • ManipChaine : This class have all the String functions and sub
  • QueryUrl : This Class contains all the functions for Url String

Sample Image - StringUtils.jpg

An exemple of the fonctions which transform Normal Text (with VbCr) in HTML (With
) :

Public Shared Function FormatteTxtForHTML(ByVal texte As String) As 
String
' Permet de formatter le texte issu d'une base de données pour un 
affichage dans une page HTML
If texte Is Nothing Then
 Return 
Nothing
Else
 Return Replace(texte.Replace(vbCr, "<BR>"), 
vbCrLf, "<BR>")
End If
End Function
 

You can easily add specific functions or classes in this Library for adapt il at your solution.

For information, we have in my company a similary library which contains all specific functions and working classes. We use it in all solution we make.

Conclusion

This Classes Library is one simple example of Solution system in Visual Studio.NET, You can make a lots of simple and specific Library (one for the database connexion, another for the specific fonctions, ...) and add all this dll in your global solution for your final project.

I think it's a good and simple project for understand this logic.

You can also see the french version of this article more directed for the creation and use of the Class Library :

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Romelard Fabrice (Alias F___)

Web Developer

Switzerland Switzerland

Member

I'm French Web developer and MVP.
My favorites languages are ASP.NET and SharePoint. I made a lot of projects in open source and many articles.
You can see all my articles on french developer sites like :
- http:/:www.asp-php.net
- http://www.aspfr.com
 
My technical blog is in French community :
- http://blogs.developpeur.org/fabrice69/
 
Romelard Fabrice [MVP]


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralPerformance of replace Pinmemberdog_spawn2:40 19 Jul '03  
GeneralRe: Performance of replace PinmemberRomelard Fabrice (Alias F___)23:38 19 Jul '03  
GeneralRe: Performance of replace PinmemberQuentin Pouplard13:44 16 Mar '04  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 16 Mar 2004
Article Copyright 2003 by Romelard Fabrice (Alias F___)
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid