Question

I don't know yahoo pipes so much, i am just wandering, is it possible to make the first word moved to be the last word of sentence ?

for example, i got some feed, with an item title like this

Stackoverflow : The best way to do self-programming learning

then i want to move the first word, which is Stackoverflow to be the last word like this

The best way to do self-programming learning - Stackoverflow

how do i do that ?

in my logic : we need to separate the first words from the feeds, then store them into "memory" or some kind like that"

then we use string builder then take the stored words to the last sentence. but i don't know 'the tools' that works like "memory" or some kind like that

updates :

how do i join both string regex loops into 1 items ? image

Was it helpful?

Solution

The pipes themselves will serve as memory. :-)

a) create a regex operator stripping the colon and everything in front.

b) create a regex operator stripping the colon and everything after.

c) pass the string to both a) and b).

d) create a string builder for [input-from-a] + " - " + [input-from-b].

Tried sharing an example here: http://pipes.yahoo.com/pipes/pipe.info?_id=68b135e6b9a182a8bf9e1f329eaaf6f5

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top