雲雀は高く空を舞い このページをアンテナに追加 RSSフィード

「ひよこは高く空を舞い」について

2009-11-30

[]文字列をaとbとcとdで分割したい 文字列をaとbとcとdで分割したい - 雲雀は高く空を舞い を含むブックマーク はてなブックマーク - 文字列をaとbとcとdで分割したい - 雲雀は高く空を舞い 文字列をaとbとcとdで分割したい - 雲雀は高く空を舞い のブックマークコメント

文字列をseparatorで分割するときはStrings.split()メソッドを使う。

text = u'おはようございます。それでは行ってまいります。横浜は雲が出ているものの、晴れ間がのぞいています。'
seped = text.split('。')
print seped
[u'おはようございます',
u'それでは行ってまいります',
u'横浜は雲が出ているものの、晴れ間がのぞいています'

文字列を複数の位置で分割したいときは?

  1. splitをループで使う
  2. 正規表現のre.split()メソッドを使う
text = u'おはようございます。それでは行ってまいります。横浜は雲が出ているものの、晴れ間がのぞいています。'
seped = re.split(u'。|、', text)
print seped
[u'おはようございます',
u'それでは行ってまいります',
u'横浜は雲が出ているものの'
u'晴れ間がのぞいています'

区切り文字を出力に含みたいときはpatternをグループ化すればおk

seped = re.split(u'(。|、)', text)

ScoskiblyScoskibly 2018/01/29 00:45 Micohex Acheter Du Cialis Au Canada [url=http://cialiorder.com]cialis[/url] Viagra Over The Counter Propecia Cost Over Time Cialis Bordeaux

LesSarkLesSark 2018/04/09 04:01 Shipped Ups Bentyl For Sale Real Viagra Sans En Avoir Besoin Sky Pharmacy Store [url=http://tadalaffbuy.com]where to buy cialis online safely[/url] Viagra Rezeptfrei Per Uberweisung

LesSarkLesSark 2018/04/15 01:23 How To Use Propecia Produit Plante Qui Remplace Tadalis Sx Soft Canine Cephalexin [url=http://cheapciali.com]cialis no prescription[/url] Order isotretinoin no rx with free shipping

KennethwefKennethwef 2018/05/11 10:56 kamagra 100mg oral jelly wirkung bei frauen
kamagra 100mg side effects
the kamagra store hoax
kamagra oral jelly side effects

KennethwefKennethwef 2018/05/12 04:12 kamagra 100mg tablets for sale usa
kamagra 100 chewable tablets
kamagra novi sad potencija
kamagra website reviews uk

JuniornomJuniornom 2018/06/17 16:54 viagra levitra cialis cost comparison
<a href="http://viagrapipls.com/">buy generic viagra</a>
viagra for women pink
<a href="http://viagrapipls.com/">buy generic viagra</a>
price comparison between viagra and cialis

JuniornomJuniornom 2018/06/17 20:14 viagra prices in us
<a href="http://viagrapipls.com/">buy generic viagra</a>
generic viagra cost now available
[url=http://viagrapipls.com/]buy generic viagra[/url]
brand viagra online australia

JaredSwowlJaredSwowl 2018/06/19 06:10 cialis 5mg price comparison
[url=http://cialisprod.com/]buy generic cialis[/url]
lowest price on generic cialis
<a href="http://cialisprod.com/">buy cialis</a>
viagra cialis levitra reviews

MichaelgluroMichaelgluro 2018/06/19 19:45 buy generic cialis online usa
<a href="http://justinpro.com/">cialis</a>
cialis vs viagra cost comparison
<a href="http://justinpro.com/">buy cialis</a>
cialis 20 mg how long does it take to work

DanieltusDanieltus 2018/06/20 13:07 erfahrungsbericht kamagra oral jelly wirkung
<a href="http://kamagraonl.com/">buy kamagra oral jelly</a>
kamagra now reviews
<a href="http://kamagraonl.com/">kamagra</a>
kamagra rendeles budapest

JaredSwowlJaredSwowl 2018/06/21 09:08 viagra naturale fatto in casa
<a href="http://amsboatyard.com/">viagra</a>
cialis vs viagra dosing
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra coupons samples 2017

MichaelgluroMichaelgluro 2018/06/22 19:04 viagra cialis compare
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis brand name vs generic
[url=http://airvietnamairline.com/]buy generic cialis[/url]
comprar cialis generico no brasil

DanieltusDanieltus 2018/06/23 01:23 kamagra 100mg oral jelly price
<a href="http://kamagraonl.com/">buy kamagra oral jelly</a>
side effects of kamagra oral jelly
[url=http://kamagraonl.com/]buy kamagra oral jelly[/url]
super kamagra opinie forum

AntonJaivyAntonJaivy 2018/06/28 07:12 cialis soft tabs 20mg
[url=http://cialisgenericsa.com/]buy generic cialis[/url]
genericos de viagra y cialis
<a href="http://cialisgenericsa.com/">buy cialis online</a>
cialis manufacturer coupon 2018

FloydprulpFloydprulp 2018/06/29 07:08 kamagra oral jelly india manufacturer
<a href="http://kamagradyn.com/">kamagra 100mg</a>
cost of kamagra
<a href="http://kamagraonl.com/">kamagra oral jelly</a>
kamagra oral jelly for sale in usare

FloydprulpFloydprulp 2018/07/01 20:36 kamagra oral jelly review australia
[url=http://kamagradyn.com/]kamagra 100mg[/url]
kamagra oral jelly kaufen schweiz
<a href="http://kamagraonl.com/">kamagra oral jelly</a>
kamagra oral jelly 5gm sildenafil

AllanzetlyAllanzetly 2018/07/02 00:46 buy cheap cialis online uk
<a href="http://cialispaxl.com/">buy generic cialis</a>
prices for cialis 5mg
[url=http://cialispaxl.com/]cialis generic[/url]
cialis generico melhor preço

RobertAvasyRobertAvasy 2018/07/13 22:19 kamagra oral jelly forum hr
<a href="https://www.kamagrapos.com/">kamagra oral jelly</a>
kamagra in usa kaufen dundee health
<a href="https://www.kamagrapos.com/">kamagra jelly</a>
kamagra jelly reviews

CharleseduthCharleseduth 2018/07/15 17:17 viagra vs cialis vs levitra prices
<a href="http://viagrapipls.com/">generic viagra</a>
viagra cost vs cialis cost
[url=http://viagrapipls.com/]viagra generic[/url]
buy viagra uk next day delivery
http://viagrapipls.com/
reviews for female viagra

DonnieHokDonnieHok 2018/07/17 05:15 Gеt up tо $ 20,000 рer dау with our рrogrаm.
Wе are а tеаm of еxрeriеncеd рrоgrаmmеrs, wоrkеd more than 14 mоnths on this prоgrаm аnd nоw everything is rеаdy аnd everуthing wоrks рerfeсtly. Thе РаyPal system is vеry vulnerаble, instеad of nоtifying thе develореrs оf PaуРal abоut this vulnerаbilitу, we toоk аdvantagе оf it. We activеlу use our program fоr рersоnal еnrichment, tо show hugе аmоunts оf money оn our acсоunts, we will not. уou will not believе until yоu try аnd as it is nоt in оur intеrеst tо рrovе to you that sоmеthing is in уours. Whеn we realizеd thаt this vulnеrаbility саn bе usеd mаssivеly withоut consеquenсes, we dеcidеd tо help thе rеst оf the peoplе. Wе deсidеd nоt to inflate thе рricе оf this gоld рrоgrаm and put a verу low рrice tаg, onlу $ 550. In оrder fоr this рrоgram to be аvаilаble tо a large numbеr оf peорlе.
Аll the dеtаils оn оur blоg: http://www.yasni.pl/go.php?to=https://www.pinterest.com/pin/690387817853172731/

CharleseduthCharleseduth 2018/07/17 10:47 women in viagra commercial 2015
<a href="http://viagrapipls.com/">generic viagra</a>
viagra side effects how long
<a href="http://viagrapipls.com/">viagra generic</a>
reviews of viagra professional
http://viagrapipls.com/
viagra female commercial

DavidpafDavidpaf 2018/07/17 23:36 kamagra4uk review
<a href="https://www.kamagrajellyk.com/">kamagra oral jelly</a>
kamagra oral jelly usa
[url=https://www.kamagrajellyk.com/]kamagra oral jelly[/url]
kamagra stores

JackiebubJackiebub 2018/07/30 23:08 kamagra 100mg tabletta
<a href="https://www.kamagrapos.com/">buy kamagra oral jelly</a>
kamagra 100mg oral jelly in india
<a href="https://www.kamagrapos.com/">kamagra oral jelly</a>
kamagra oral jelly novi sad

ktaletfulsktaletfuls 2018/07/31 12:10 <a href="http://baymontelreno.com">buy cialis online prescription</a> cialis for sale cheap http://baymontelreno.com

JackiebubJackiebub 2018/07/31 18:52 kamagra kopen amsterdam
<a href="https://www.kamagrapos.com/">kamagra oral jelly</a>
kamagra gold 100mg side effects
[url=https://www.kamagrapos.com/]buy kamagra[/url]
india kamagra 100mg chewable tablets

LloyderalkLloyderalk 2018/08/01 07:14 kamagra 100mg oral jelly suppliers indianapolis in
<a href="https://www.kamagradax.com/">buy kamagra 100mg</a>
kamagra 100mg oral jelly
<a href="https://www.kamagradax.com/">buy kamagra</a>
kamagra oral jelly novi sad

wtaletbujwwtaletbujw 2018/08/01 09:22 <a href="http://motechautomotive.com">buy cialis online safely</a> brand cialis online http://motechautomotive.com

ltaletxsqmltaletxsqm 2018/08/02 08:02 <a href="http://rabbitinahat.com">cialis online with prescription</a> buy cialis online pharmacy http://rabbitinahat.com

ytaletqfqmytaletqfqm 2018/08/03 05:43 <a href="http://gigawatt6.com">cheap cialis in australia</a> cialis coupon http://gigawatt6.com

FloydDiomyFloydDiomy 2018/08/03 23:09 generic cialis coming out
<a href="http://neposedaplay.ru/assets/skachat-audioknigu-kratkaya-istoriya-pochti-vsego-na-svete.html">скачать аудиокнигу краткая история почти всего на свете</a>
cialis 20mg vs viagra 100mg
<a href="http://neposedaplay.ru/assets/skachat-turgenev-asya-dlya-android.html">скачать тургенев ася для андроид</a>
cialis commercial female actors 2016
http://neposedaplay.ru/assets/skachat-ze-povder-toy-na-android.html
generic cialis super active reviews

staletnexzstaletnexz 2018/08/04 05:38 <a href="http://onevoicemethod.com">order cheap female viagra</a> buy viagra overnight http://onevoicemethod.com

JamesmogJamesmog 2018/08/05 21:11 Help Jack please: http://ad.russianitaly.com/adclick.php?bannerid=115&zoneid=10&source=russian&dest=https://vk.cc/8l7kvh

ktaletbuldktaletbuld 2018/08/07 05:17 <a href="http://istanbulexpressonline.com">cheap viagra canada pharmacy</a> order generic viagra http://istanbulexpressonline.com

ltaletgwoultaletgwou 2018/08/07 16:09 <a href="http://bakerssign.com">levitra order online</a> levitra prescription online http://bakerssign.com

ntaletgxkxntaletgxkx 2018/08/18 07:07 <a href="http://mphasset.com">what if a woman took viagra</a> best way to use viagra http://mphasset.com

etaletpeyretaletpeyr 2018/08/18 12:28 <a href="http://istanbulexpressonline.com">does viagra give you an erection</a> how to order viagra http://istanbulexpressonline.com

rtaletkqqertaletkqqe 2018/08/18 15:13 <a href="http://missreplicawatches.com">when should i take cialis</a> strongest cialis pill http://missreplicawatches.com

ataletgqlbataletgqlb 2018/08/18 16:53 <a href="http://istanbulexpressonline.com">anti viagra</a> viagra before and after photos http://istanbulexpressonline.com

ptaletvpxmptaletvpxm 2018/08/18 19:14 <a href="http://istanbulexpressonline.com">why does a man need viagra</a> viagra for men online http://istanbulexpressonline.com

ftaletrtxsftaletrtxs 2018/08/18 20:35 <a href="http://bullsac.com">levitra purchase</a> levitra com http://bullsac.com

mtaletfbxzmtaletfbxz 2018/08/18 23:50 <a href="http://psychologytweets.com">buying cialis online legal</a> 5mg generic cialis http://psychologytweets.com

wtaletdenrwtaletdenr 2018/08/19 03:03 <a href="http://rabbitinahat.com">cheap cialis online pharmacy</a> non prescription cialis alternative http://rabbitinahat.com

ztaletmnobztaletmnob 2018/08/19 06:08 <a href="http://missreplicawatches.com">cialis pill picture</a> liquid cialis review http://missreplicawatches.com

ztaletdikpztaletdikp 2018/08/19 09:01 <a href="http://baymontelreno.com">cialis online canada pharmacy</a> cialis advertisement http://baymontelreno.com

vtaletoigkvtaletoigk 2018/08/19 10:53 <a href="http://baymontelreno.com">cialis over counter</a> cialis 100mg http://baymontelreno.com

xtaletzoodxtaletzood 2018/08/19 20:15 <a href="http://bullsac.com">levitra vs viagra reviews</a> levitra 20 mg http://bullsac.com

otaletnvtvotaletnvtv 2018/08/19 23:11 <a href="http://missreplicawatches.com">cialis sat?n al</a> what does cialis do http://missreplicawatches.com

rtaletfbhfrtaletfbhf 2018/08/20 02:07 <a href="http://missreplicawatches.com">ordering cialis online in canada</a> cheap cialis prices http://missreplicawatches.com

ゲスト



トラックバック - http://chick.g.hatena.ne.jp/allegro/20091130
テクノラティプロフィール