Re: Is the first character in a string a letter?



I found something to try


" Frank" <frank@xxxxxxxxxx> wrote in message
news:OXii$sVRHHA.2172@xxxxxxxxxxxxxxxxxxxxxxx
While I was at it I should have asked you about trimming a string of
leading white space.

Is there a easy way?

I've been searching the doc and the internet but can't find anything.

Thanks again


"Brian Muth" <bmuth@xxxxxxxx> wrote in message
news:eNmY6iVRHHA.4692@xxxxxxxxxxxxxxxxxxxxxxx

" Frank" <frank@xxxxxxxxxx> wrote in message
news:OV$C%23aVRHHA.1180@xxxxxxxxxxxxxxxxxxxxxxx
There must be an easier way then what I'm doing to determine if the
first character in a string is a valid letter.

My code is getting to big. There must be a better way.


Anything wrong with isalpha(s[0]) ?

Brian





.



Relevant Pages

  • Re: Is the first character in a string a letter?
    ... white space. ... I've been searching the doc and the internet but can't find anything. ... If you are using CString then there is TrimLeft. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: New Home Page, task bar, and history
    ... and a virus protection software that i had x-ed out ... | Internet Security scan, and delete everything that it found. ... | get to my mail from searching on google, but not the regular home page. ... On Win9x/ME platforms the report will not be shown in your bowser ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: People Online
    ... Today almost everybody in the world has access to the internet. ... People online use the internet for many needs such as searching for ... "Usenet Filters - Learn to shut yourself the fuck up!" ... "Those who record history are those who control history." ...
    (alt.2600)
  • Re: Indecent pics of children and possession
    ... IMO, based on over a decade of Internet use, I would estimate that the ... there *is* child pornography ... If you spent only 1 hour by yourself searching for these ... Are you networking with others who may ...
    (uk.legal)
  • Re: Arabic and other languages
    ... The explanation comes from experimenting with Word. ... comments were picked up from searching the internet and may be wrong. ... Mac first, Mac only: ...
    (microsoft.public.mac.office.word)