Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14061

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

From debguy <johnandsara2@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: find position in a list made by string by searching incomplete string
Date 2013-04-05 02:30 +0000
Message-ID <kjlcv9$b6e$1@smc.vnet.net> (permalink)
References <kjkc5e$7mu$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

find position in a list made by string by searching incomplete string Joug Raw <jougraw@gmail.com> - 2013-04-04 17:10 +0000
  Re: find position in a list made by string by searching incomplete string debguy <johnandsara2@cox.net> - 2013-04-05 02:30 +0000
  Re: find position in a list made by string by searching incomplete Peter Pein <petsie@dordos.net> - 2013-04-05 02:30 +0000

csiph-web