Re: String filtering



David Trudgett <wpower@xxxxxxxxxxxxxxxxxxxxxxxx> writes:

> Dest_Size : Natural := Count(Str, Alpha_Num_Space_Set);

Dest_Size : constant Natural := Count(Str, Alpha_Num_Space_Set);

> New_Str : Unbounded_String := Null_Unbounded_String;
> Dest_Char : Natural := 0;

It would be more like the uses in the standard IO libraries to call
Dest_Char 'Last'. (I for one thought it would hold a character rather
than an index to a character).
.



Relevant Pages

  • Transponder Protocol Open Standard rec.pets-2005a
    ... But anybody can write an open standard, ... transponders readable by the standard is not intended to be identical ... as 20 character readings under this standard unless the reader designer ... If an excerpt string shows four or fewer transitions ...
    (rec.pets)
  • Re: Herbert Schildt, author of The Complete C++ Reference (NOT C Unleashed) rehabilitated on wikiped
    ... well as on Amazon and wikipedia, on Schildt, Heathfield et al. did try ... Annotated Annotated C Standard" at http://www.lysator.liu.se/c/schildt.html, ... auditing EACH AND EVERY LINE for character width dependent operations ... standard (something that is not mentioned in the annotations), ...
    (comp.programming)
  • Re: Questions on reuse of FORMAT statements and newer I/O options ?such as ACCESS=STREAM
    ... I might believe that character oriented file systems are the worst ... but nothing in the standard ... That works when using only Fortran I/O. ...
    (comp.lang.fortran)
  • Re: Segfault City
    ... Those who ignore the standard library condemn themselves to rewriting it. ... programmers have to use a dictated and not fully standard compiler. ... I'm saying that to rely on character ordering that is not guaranteed ...
    (comp.lang.c)
  • Re: Trigraphs forever
    ... Visual C versions 6.0 and later emit "warning C4010: single-line comment ... "Trigraphs are not popular and many compilers implement them incorrectly. ... Discussing the current C standard is not a waste of time. ... "2 Except within a character constant, a string literal, or a comment, the ...
    (comp.std.c)