Replace : colon with ∶ ratio

Support for Windows users
Post Reply
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Replace : colon with ∶ ratio

Post by RBCC »

Hi folks:

I have a movie name that needs a colon in but in {n}=" The Rescuers Down Under" and I would like to put a colon between Rescuers and Down Under using the ratio symbol. Such as The Rescuers ∶ Down Under. Image

Thank you oh so much JTM
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: {n} to and a colon between two words

Post by rednoah »

1.
If it's a case-by-case edit, then you'll probably want to use Double-Click ➔ Edit Name to make edits before renaming.

Image


2.
The Rescuers Down Under doesn't originally contain a : colon so we can't just replace that with ∶ ratio. Something like "add ∶ ratio after the second word" probably doesn't make much sense. If it's just a matter of replacing : colon with ∶ ratio then that would be easy though.

e.g. replace : colon with ∶ ratio

Code: Select all

{ n.colon('∶ ') }

Code: Select all

Star Wars∶ Episode III - Revenge of the Sith
:idea: Please read the FAQ and How to Request Help.
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Replace : colon with ∶ ratio

Post by RBCC »

how do I seperate the rescuers down under with a ratio. so it reads the rescuers : down Under? if the {n} is the only thing that used to hold "the rescuers down under? are there string manipulation commands that can do this ?
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Replace : colon with ∶ ratio

Post by kim »

The Rescuers Down Under
is the correct name in all places/ languages I can find, so if you REALLY want the colon just rename in windows explorer

or
replace the

Code: Select all

{n}
with

Code: Select all

{'the rescuers : down Under'}
or

Code: Select all

{n.replaceAll(/.+/,'the rescuers : down Under')}
or

Code: Select all

{n.replaceAll(/The Rescuers Down Under/,'the rescuers : down Under')}
or

Code: Select all

{n.replace('The Rescuers Down Under','the rescuers : down Under')}
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Replace : colon with ∶ ratio

Post by RBCC »

Code: Select all

{"Main Character∶  "} {n.replace("Rudolph The Red Nosed Reindeer","Rudolph")}
when i press use format this happens:
Image
WHat did I type that was wrong?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Replace : colon with ∶ ratio

Post by rednoah »

Looks like you missed a - dash and mistyped a lower-case t.
:idea: Please read the FAQ and How to Request Help.
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Replace : colon with ∶ ratio

Post by RBCC »

As in 1964-
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Replace : colon with ∶ ratio

Post by rednoah »

No. Replacement is exact to the symbol and letter case. The name of the movie name is "Rudolph the Red-Nosed Reindeer" but are replacing "Rudolph The Red Nosed Reindeer" which isn't exactly the same and so you replace nothing.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Replace : colon with ∶ ratio

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply