Em Andamento

Simple Javascript Function

Hello!

I have some input variables in JS and must create a link path from them.

Example:

first_name = "Jxrg";

last_name = "Yllxrss";

name_id = "100003150639830";

Then the final path that shall be created from that 3 input variables is

j/u/[url removed, login to view]

And here are the rules:

1. The upper case letters from first and last name must be changed into lower case letters

2. First and last name must be checked if there are some special characters included and if so replaced. I need if for german special characters which I cannot display here. So just imagine that this special characters are 'x' and 'y'. 'x' shall be replaced with 'oe' and 'y' shall be replaced with 'ue'

3. The rest is easy. The path starts with the first letter of the first name, then follows a slash, then comes the first letter of the last name, then a slash again. After that first name, underscore, last name, underscore, name id, underscore and finally just add '[url removed, login to view]'

That's it!

Habilidades: Amazon Web Services, Javascript

Ver mais: services letters, slash s, javascript upper, x js, simple rest, simple javascript, amazon function, amazon display, rest javascript, underscore, simple special, rest web services, german amazon, amazon german, display wall, amazon javascript, javascript rest, web wall, simple characters, javascript amazon, display function, letter services, javascript easy, input changed javascript, characters png

Acerca do Empregador:
( 180 comentários ) London, United Kingdom

ID do Projeto: #2730614

Premiar a:

eagleeyesvw

See private message.

$17 USD em 1 dia
(24 Avaliações)
4.0

3 freelancers are bidding on average $17 for this job

vnoutsourcingvw

See private message.

$17 USD em 1 dia
(8 Comentários)
2.8
Blind247

See private message.

$17 USD em 1 dia
(5 Comentários)
2.2