A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

string



 
 
Thread Tools Display Modes
  #1  
Old May 26th, 2004, 01:46 PM
Allouche Patrick
external usenet poster
 
Posts: n/a
Default string

Salut j'aimerai remplacer un carctere present plusieur fois dans une chaine
?

1-2-3-4-5-6 deviendrai 1 2 3 4 5 6 donc '-' par ' '

ou encor inser un espace ce qui donnerai 1- 2- 3- 4- 5- 6

mais je n'y arrive pas !

quel serait la requete

merci d'avance


  #2  
Old May 26th, 2004, 02:56 PM
Cheryl Fischer
external usenet poster
 
Posts: n/a
Default string

In newer versions of Access, there is a function named: Replace()

Replace([MyString], "-", " ")

or

Replace("1-2-3-4-5-6", "-", " ")



--

Cheryl Fischer, MVP Microsoft Access



"Allouche Patrick" wrote in message
...
Salut j'aimerai remplacer un carctere present plusieur fois dans une

chaine
?

1-2-3-4-5-6 deviendrai 1 2 3 4 5 6 donc '-' par ' '

ou encor inser un espace ce qui donnerai 1- 2- 3- 4- 5- 6

mais je n'y arrive pas !

quel serait la requete

merci d'avance




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.