Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I've one string with spaces ( I N D I A ). My question is I
want remove the spaces & combine in to single string without
space (INDIA).How we can write the cobol program & wich
options we need to use. Please let me know.

Answer Posted / sup

small modification to ans 9th,

If ws-india(ws-i:1) = spaces
continue
Else
move ws-india(ws-i:1)to ws-india-f(i:1)
i=i+1
End-if

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1256


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2157


What is a SSRANGE and NOSSRANGE?

1413


When is inspect verb is used in cobol?

1179


What are different data types in cobol?

1225


What is the difference between perform … with test after and perform … with test before?

1369


how can i see junk values in dclgen or in hostvariable of comp ?

2930


How many bytes S(8) comp field occupy and its maximum value?

2084


How to remove 2 duplicate records and copy only one using job control language?

1168


What is the difference between structured cobol programming and object alternativelyiented cobol?

1183


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2394


What are various search techniques in cobol? Explain.

1025


Explain how to differentiate call by context by comparing it to other calls?

1127


Write a program to enter and display the names of students in a class using the occurs clause.

1151


What is difference between static and dynamic call in cobol?

1295