dalitg
October 16th, 2002, 10:20 AM
Hi,
I made this code:
string source, subS;
source = "AIL†05‰AVHDR0†0†US PAX N*/TVL ADV ISRAELˆ18OCTˆFRIˆTLV†Z‡2†LON††-1†ˆ‰AVLIN0"
subS = "‰AVHDR0"
source.find(subS );
I get an error :
Invalid argument
memchr, argument 2, DWORD: 0xFFFFFF89
Argument must be between 0x00000000 and 0x000000FF
If I ommit from subS this symbol ‰, then I get no error.
Please advise how to avoid this error without changing anything in the source or subS strings.
Is there another way then removing this ‰ character?
Thanks.
Dalit.
I made this code:
string source, subS;
source = "AIL†05‰AVHDR0†0†US PAX N*/TVL ADV ISRAELˆ18OCTˆFRIˆTLV†Z‡2†LON††-1†ˆ‰AVLIN0"
subS = "‰AVHDR0"
source.find(subS );
I get an error :
Invalid argument
memchr, argument 2, DWORD: 0xFFFFFF89
Argument must be between 0x00000000 and 0x000000FF
If I ommit from subS this symbol ‰, then I get no error.
Please advise how to avoid this error without changing anything in the source or subS strings.
Is there another way then removing this ‰ character?
Thanks.
Dalit.