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

  • Home
  • SEARCH
  • 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 3780774
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:51:30+00:00 2026-05-19T10:51:30+00:00

I have data stored in strings that I need to extract and turn into

  • 0

I have data stored in strings that I need to extract and turn into another string. My string data looks like this:

Widget PO NO. 1234
Body PO NO. 123456
Wing PO NO. 12345-2
Nut PO NO. 1-234-56-7

“PO NO.” will always be the same, so I just want to extract the data after the trailing space in “NO. “, and turn it into another string so I can have the numeric data (i.e the purchase order #).

Thanks.

  • 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-05-19T10:51:31+00:00Added an answer on May 19, 2026 at 10:51 am
            const string refString = "PO NO.";
            string aLine = "Widget PO NO. 1234";
    
            string orderNumb = aLine.Substring(aLine.LastIndexOf(refString) + refString.Length).Trim();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that extracts data from some xml that is stored in
I have a massive multidimensional array that has been serialised by PHP. It has
I have a piece of data. At the moment, it's an XML file, but
I have the following code: public static class ScraperMasterUriDetails { public static Dictionary<Guid, string>
I need to store sensitive information (a symmetric encryption key that I want to
First, a little background. I have two ASP.NET web applications that use SQLServer session
What's the best way to save the data stored in the Application Class (singleton)
I am using this guide: http://www.asp.net/mvc/tutorials/mvc-music-store-part-7 Like instructed, I entered to ASP.NET Web Application
I am assigning a string to a custom type I have declared, which I
I have made a firefox extension which loads a web page using xmlhttprequest .

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.