hello every one

sorry if my activity not very well at last few days

:icon_rolleyes:

I need function 2 remove spaces if more than one

and to merge lines into one line like this

we still here
where are you

into we still here where are you

To join two strings use the "+" sign

for example:

var str1 = "we still here";
var str2 = "where are you";
var str3 = str1 +  " " + str2;

Try google to search for ways to remove spaces, there are loads of scripts on the internet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.