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 them into two 
> variables, how do I do that?
> 
> I tried this: id[8]='\0'; But then I got: i[]001125
> 
> How do I get ride of the 2 first signs??

  use a pointer.. 

    idP = id + 2;

  then, reference idP instead of id;

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to