Re: Iteration over strings



Jay Loden schrieb:

I have to agree with you WRT to the Python documentation, it does tend to be lacking and difficult to find things at times. In this case the two ways I can think of to look for something like this would have been:

Hmm, I find the Python documentation just excellent. You are searching for a *string* related problem? Then just check the *string* class. Also try the dir() function, like dir(some_string_variable)

If you come from a C++ background this should be familar to you. Check the appropriate class before trying some "procedural" way.

Anyway, glad we could help :)

.



Relevant Pages

  • Re: Iteration over strings
    ... searching for a *string* related problem? ... Perform a stat system call on the given path. ...
    (comp.lang.python)
  • Re: Iteration over strings
    ... Hexamorph schrieb: ... searching for a *string* related problem? ... Then just check the *string* class. ...
    (comp.lang.python)
  • 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)