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



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: String searching and lienar optimization
    ... There are *lots* of things known about pattern matching. ... string: "fjwkrjweoriosdaicfosdifidoiasosifosdifosdfio" for example.. ... Can this problem be posed suitable lfor linear optimization? ... What I am trying to do is to structure a string searching ...
    (sci.math.num-analysis)
  • RE: Oject value changing in a loop
    ... Sub zString_FindGeneral(ByRef IFindThis As String, ... ByRef IFmRow As Long, ByRef IFmCol As Integer, ByRef IToRow As Long, ByRef ... ' OFoundQty is the number of cells found containing the IFindThis string. ... 'Lines A, D, E work when searching one or multiple worksheets ...
    (microsoft.public.excel.programming)
  • Re: Parameter Query Form Problem
    ... Dim stDocName As String ... This is what I used to make my query, its was a Microsoft support site. ... controls on the form so it can run the query. ... Combo Box for searching Customer Name ...
    (microsoft.public.access.formscoding)
  • Re: string comparision in a file
    ... rakesh wrote: ... String which needs to be searched would be ... I would also welcome any other better of handling searching ... and there is considerable overhead time when reading a line (such as ...
    (comp.lang.cpp)
  • Re: Fastest way to search text file for string
    ... I'm searching a text file for a given string -- ... "I don't want to load the entire file into physical memory" ... Not stuck, that is the requirement. ...
    (microsoft.public.dotnet.languages.csharp)