Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8670149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:38:44+00:00 2026-06-12T18:38:44+00:00

map.put(RowID, String.valueOf(RowID)); map.put(KEY_NAME, parser.getValue(e, KEY_NAME)); After parsing I’m getting data 13/2012 | Section 10(15),

  • 0
map.put("RowID", String.valueOf(RowID));
map.put(KEY_NAME, parser.getValue(e, KEY_NAME));

After parsing I’m getting data

13/2012 | Section 10(15), item (h) of sub-clause (iv) of the Income-tax Act, 1961 - Exemptions - Interest on bonds/debentures - Notified bonds/debentures of Public Sector Companies - Corrigendum to notification no.7/2012, dated 14-2-2012

I want to separate after | and print data like that

13/2012 Section
10(15), item (h) of sub-clause (iv) of the Income-tax Act, 1961 - Exemptions - Interest on bonds/debentures - Notified bonds/debentures of Public Sector Companies - Corrigendum to notification no.7/2012, dated 14-2-2012

How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:38:45+00:00Added an answer on June 12, 2026 at 6:38 pm

    You can use String#replace method:

    String finalString = oldString.replace("|", "\n");
    

    Or use String#split:

    String[] splitted = oldString.split(Pattern.quote("|"));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Map<String, Data> map = new HashMap<String,Data>(); map.put(jan, new Data(RED,M4A1,5,0,0)); How can I change the
I have this code in Android: Map<String, String> idObject1 = new LinkedHashMap<String, String>(); idObject1.put(Id,
I m using hashmap for a listview. map = new HashMap<String, Object>(); map.put(name, R.string.information);
for(int i=0;i<videos.length();i++){ HashMap<String, String> map = new HashMap<String, String>(); JSONObject e = videos.getJSONObject(i); map.put(id,
Code: public static void main(String[] args) { Map<String,String> map= new HashMap<String,String>(); map.put(a, s); map.put(a,
Gson gson = new Gson(); Map<String,Object> map = new HashMap<String, Object>(); map.put(a, 1); map.put(b,
In class 1 I have a hashmap which I send to my CustomAdapter. map.put(year,
I have a google map that takes and put coordinates from input fields .
Problem: I want to put Twitter Share Button in my Google Map InfoWindow. I
I would like to put a button on top of a Google Map next

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.