MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: find position in a list made by string by searching incomplete string


Map[(StringPosition[#, "b "]) &, list1[[1]]]

I don't think Position looks inside strings.  You need to use a string
function to do it.  You gave a list of strings so Map checks each and
returns all finds in a List.



  • Prev by Date: Re: extract from Reduce
  • Next by Date: Re: extract from Reduce
  • Previous by thread: Re: find position in a list made by string by searching incomplete string
  • Next by thread: extract from Reduce