Re: [Gambas-user] Question about REPLACE$

2012-01-01 Thread Fabien Bodard
2012/1/1 nando : > Question: Code piece > >  dim i as integer >  dim s as string > >  i = 12345 >  s = "the number is " > >  Replace$( s , "", STR$(i) , gb.case) >  Replace$( s , "", STR$(i) , gb.case) > > > The first Replace will do the substitution > The second Replace will not do the substitutio

[Gambas-user] Question about REPLACE$

2011-12-31 Thread nando
Question: Code piece dim i as integer dim s as string i = 12345 s = "the number is " Replace$( s , "", STR$(i) , gb.case) Replace$( s , "", STR$(i) , gb.case) The first Replace will do the substitution The second Replace will not do the substitution The Question is this: will th