發表文章

目前顯示的是 2月, 2019的文章

Khost (Matun) District

圖片
District in Khost Province, Afghanistan Khost District District Country   Afghanistan Province Khost Province District center Khost Population (2006. [1] )  • Total 160,214 Time zone UTC+4:30 (D† (Afghanistan Standard Time)) Khost (Matun) District (Pashto: خوست ولسوالۍ ‎, Persian: ولسوالی خوست ‎) is situated in the central and eastern part of Khost Province, Afghanistan. The district center is the town of Khost. Khost Airfield is situated 2 miles (3.2 km) southeast of the town of Khost. Contents 1 History 1.1 Nadir Shah era 1.2 British era 1.3 Soviet–Afghan War 2 References 3 External links History Nadir Shah era When Nadir Shah was a general, he was responsible for putting down an uprising in the District, where the locals had rebelled against the Amir due to heavy taxation and robbery. [2] British e...

Is there any way yo make a java script string into an array then change the array values then lastly make it back into a string

圖片
-1 I want to have a user inputted string like "hello world". then take the string and turn it into an array with each letter being a part of the array. then i want to change to the values of the array. then i want to take the array and combine all the parts of the array into a string then output it. so the out put would look like "gwkki qieks" note the replacement values are coming from another array. javascript arrays string share | improve this question asked Nov 14 '18 at 23:04 user user 1 2 Indeed. You can use var arr = str.split("") , which you can then make your changes, then to convert it into an array use arr.join("") . There is a probably a similar question already asked before, I'll see if I can find it. – Spencer Wieczorek Nov 14 '18 at 23:09 Welcome to StackOverflow! It's required when you ask that you've attempted to resolve your query and post...