#1 2020-10-16 16:42

Crazyface
Member
Registered: 2020-10-16
Posts: 2

Adding a word to a string

Hi, First post.

I've been using Renamer for a while but have encountered a problem.

So I've figured out how to rearrange using $1 - $2     etc but if I wanted to add a word after swapping the stings around can I do this?

Eg

You - Are - Fine

To

$2 - $1 - $3 and want a beer?


Hope this is clear.

Offline

#2 2020-10-16 20:52

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,023

Re: Adding a word to a string

Yes, you can.

You can add anything you like in the pattern field.

Give it a try.

Offline

#3 2020-10-17 10:07

Crazyface
Member
Registered: 2020-10-16
Posts: 2

Re: Adding a word to a string

But how?

Offline

#4 2020-10-18 00:45

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,023

Re: Adding a word to a string

For example, using the Rearrange rule...

Split using: delimiters
Delimiters: " - "
New pattern: "$2 - $1 - $3 and want a beer?"

Input: You - Are - Fine
Output: Are - You - Fine and want a beer?

Offline

Board footer

Powered by FluxBB