Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #1050
| Newsgroups | comp.soft-sys.math.maple |
|---|---|
| Date | 2014-12-14 09:18 -0800 |
| Message-ID | <e33ec356-2115-4da9-a1d2-ccbecfe72d75@googlegroups.com> (permalink) |
| Subject | problem with simple string search |
| From | mahesh.marguii@gmail.com |
Hello,
I am having a difficulty with what seems to me as a simple string search...
My problem starts here:
L:="cálculo"; # this is the string
And this is the search I am trying to do:
searchtext("á",L);
For which I am getting the result "0" (without quotes).
I think it should be "2".
So I did this, just to check what I really have in the string L:
searchtext("Ã",L);
searchtext("¡",L);
And the results are respectively "2" and "3".
So it seems it is finding the individual characters but not both together...
For me this seems really strange...!
CONTEXT: I am trying to write some simple routine to substitute "á" for "á", for example, according to a table of similar substitutions.
I am having the same problem with all these "composite characters" - like "ç","õ","³","ê","ã","é","á", etc.
Does any gentleman or lady here understands and is willing to help me with this problem that is blocking this work?
Thank you in advance for all your kind attention !
Mahesh
Back to comp.soft-sys.math.maple | Previous | Next — Next in thread | Find similar
problem with simple string search mahesh.marguii@gmail.com - 2014-12-14 09:18 -0800
Re: problem with simple string search William Unruh <unruh@invalid.ca> - 2014-12-14 18:46 +0000
Re: problem with simple string search Axel Vogt <&noreply@axelvogt.de> - 2014-12-14 21:45 +0100
Re: problem with simple string search William Unruh <unruh@invalid.ca> - 2014-12-14 21:04 +0000
Re: problem with simple string search Axel Vogt <&noreply@axelvogt.de> - 2014-12-14 22:15 +0100
csiph-web