Re: Way to transform "bbbbbbbbbbbbbeee" into "be" ?



Function RemoveConsecDuplicate ( string ; start )
------------------------------------------
If(
Length( string );
If(
Lower( Right( start; 1 ) ) = Lower( Left( string; 1 ) );
RemoveConsecDuplicate( Middle( string; 2; Length( string ) );
start );
RemoveConsecDuplicate( Middle( string; 2; Length( string ) ); start &
Left( string; 1 ) )
);
start
)
------------------------------------------

"Bill Marriott" <wjm@xxxxxxx> a écrit dans le message de news:
dNOdnVHpaO7gzxHenZ2dnUVZ_sCdnZ2d@xxxxxxxxxxxxxx
> Answered under your prior thread.
>
> "Boubahha" <fsdf@xxxxxxxxxxxx> wrote in message
> news:438c1f2a$0$5996$636a15ce@xxxxxxxxxxxxxxx
>> Hello,
>>
>> I'm trying to convert doubles into simple...
>>
>> "bb"->"b"
>> "aaaaabbbbeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrtt"->"abert"
>> etc...
>>
>> Is there a way to do it?
>>
>> Thanks :-)
>>
>
>


.



Relevant Pages

  • Re: Way to transform "bbbbbbbbbbbbbeee" into "be" ?
    ... Too bad that puts a "1" in front of everything. ... > Length(string); ... >>> I'm trying to convert doubles into simple... ... Prev by Date: ...
    (comp.databases.filemaker)
  • Re: Working with floating point values
    ... doubles. ... And the time it would take to convert to string, ... > Ranjeet. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Excel number length-max length.
    ... All the numbers in Excel are kept as a 8-byte doubles. ... this case you could get some sort of formatted string. ... Prev by Date: ...
    (microsoft.public.data.ado)
  • Re: conversion of types.
    ... I am reading the whole row as a string using fgets. ... I might write doubles to a binary file where each double is eight bytes long. ... You need to delimit the values with an 'out-of-bound' character like '|' or something. ... You have to know the format of the file you are reading. ...
    (comp.lang.c)
  • Double.ToString round-trip: "R" vs. "G17"
    ... and therefore the doubles have to be represented as strings. ... We also need to be able to take the XML back from the browser and parse the ... decimal string representation, but at this point it would be a major ... as the original double, it's done, otherwise output it with 17 decimals. ...
    (microsoft.public.dotnet.framework.clr)