Re: Cuting strings

2001-10-04 Thread maria jönsson
Thank you very much!! it worked fine! >From: Aaron Ardiri <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: Re: Cuting strings >Date: Thu, 4 Oct 2001 15:54:09

RE: Cuting strings

2001-10-04 Thread Aaron Ardiri
On Thu, 4 Oct 2001, Yu, Ken [IT] wrote: > Use a scissor. Get it? "Cutting strings"? Ha ha! actually, you never refer to scissors in the singular sense :) the correct way would be to say use a "pair of scissors" // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using

RE: Cuting strings

2001-10-04 Thread Yu, Ken [IT]
Use a scissor. Get it? "Cutting strings"? Ha ha! Sorry, couldn't resist ... > -- > From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, October 04, 2001 9:54 AM > To: Palm Developer Fo

RE: Cuting strings

2001-10-04 Thread Mike Walters
It really depends on what you want to do with the string. If you want to replace the funny characters with some other character, such as a space, the following would work: int i = 0; while (id[i] != '\0') { if (id[i] < ' ' || id[i] > 'z') id[i] = ' '; i++; } If you wish to simply

Re: Cuting strings

2001-10-04 Thread Aaron Ardiri
On Thu, 4 Oct 2001, maria jönsson wrote: > Hi everybody! > When I read a record from a database I get a long string with some funny > signs in it. Example: > > i[]00112578[]Jonsson Maria > (the [] illustrates a rectangle here) > > If I want to get the signs 00112587 and Jonsson Maria and put