If the comma is within "" it shouldn't be seen as a separator.

char* string = "This is a, test..."; // Shatner inflection required

This is a valid string in C, and shouldn't give you any troubles.


Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293


>Related question: I know this is a very basic question but it has slipped
>my memory on how to do this.
>
>I am having a problem dealing with ',' (commas).  When I try to use one
>within a string, it is seen as a seperator rather than a comma within a
>string.  I have tried to use '\,' like I do when I want to use a quote
>('\"') but that does not work either.
>
>How do you put a comma within a string?
>
>Thanks
>
>On Tue, 1 Jun 1999, Alan Pinstein wrote:
>
>> Try:
>>
>> FldInsert(fldP, "\n", 1);
>>
>>
>> Alan Pinstein
>> Synergy Solutions, Inc.
>> http://www.synsolutions.com
>> 1-800-210-5293
>>
>> >Hi.
>> >How do I do this lineshift (enter)  in a field.?
>> >I want to make a enter after i have inserted a scan decode.
>> >Tried to write ascii code for enter but this diden't work. It dosent
>> >work with adding EnterEvent to queue eader.
>> >anyone who can help me with this "new-bee" question?
>> >Thanks.
>> >PKL :-)
>>
>>
>>
>
>----------------------------------------------------
>Shoot-to-Win
>
>Protect the 2nd Amendment
>----------------------------------------------------

Reply via email to