Re: How do I replace a space for a different character?



I noticed that Message-ID:
<1122482630.329513.117460@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from Matt MC
contained the following:

>
>"This is a test",
>
>how do I check that string and replace all spaces with a different
>character, like a dash (-), so it displays
>
>"This-is-a-test"

str_replace()
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
.



Relevant Pages

  • Re: Quick help with extracting a value
    ... > I need to update field2 to everything that comes after the dash in field 1. ... The MID function will start to read the string specified in the first ... characters from the start of the string till it finds the character ... the value returned by the INSTR function to start the string at the ...
    (comp.databases.ms-access)
  • Re: Easiest way to calculate number of character in string
    ... > I have a string in which I want to calculate how often the character ';' ... of the tunnel for most of his problems is Python" ... Prev by Date: ...
    (comp.lang.python)
  • Re: Left Padding Zeros In A String - VB6
    ... > You want the String$ function... ... > PaddedString = String$(HowMany, Character) & YourString ... LFS ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: Easiest way to calculate number of character in string
    ... > I have a string in which I want to calculate how often the character ';' ... > if AnzahlSemikolon < 42: ... Prev by Date: ...
    (comp.lang.python)
  • Re: Accessing Arrays using strings....
    ... >SelectFromArray: a and: b ... Character $F as the only character in the string, ... Prev by Date: ...
    (comp.lang.smalltalk)