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 8574699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:31:56+00:00 2026-06-11T19:31:56+00:00

I need to locate a specific part of a string value like the one

  • 0

I need to locate a specific part of a string value like the one below, I need to alter the “Meeting ID” to a specific number.

This number comes from a dropdownlist of multiple numbers, so I cant simply use find & replace. As the text could change to one of multiple numbers before the user is happy.

The “0783,” part of the string never changes, and “Meeting ID” is always followed by a “,”.

So i need to get to “0783, INSERT TEXT ,” and then insert the new number on the Index Changed event.

Here is an example :-

Business Invitation, start time, M Problem, 518-06-xxx, 9999 999
0783, Meeting ID, xxx ??

What is the best way of locating this string and replacing the test each time?

I hope this makes sense guys?

  • 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-11T19:31:57+00:00Added an answer on June 11, 2026 at 7:31 pm

    Okay, so there are several ways of doing this, however this seems to be a string you have control over so I’m going to say here’s what you want to do.

    var myString = string.Format("Business Invitation, start time, M Problem, 518-06-xxx, 9999 999 0783, {0}, xxx ??", yourMeetingId);
    

    If you don’t have control over it then you’re going to have to be a bit more clever:

    var startingIndex = myString.IndexOf("0783, ");
    var endingIndex = myString.IndexOf(",", startingIndex + 6);
    var pattern = myString.Substring(startingIndex + 6, endingIndex - (startingIndex + 6));
    myString = myString.Replace(pattern, yourMeetingId);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to use VBScript to loop through a set of registry string value
I need an application to run only from a specific USB flash drive. I
I'd like to know which specific file is my Microsoft compiler. I need it
I am after a specific value from a webapge; the product name that is
I need to locate 2 tags in a lump of text and keep whatever
I need to locate a command line tool that would allow me to write
I need some images as input for my tests. Where to locate the files
I need to get the system locale to do a number of things, ultimately
I need a way to automatically format Date and Number objects based on locale
I would like to know when my cursor is located within a specific aera

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.