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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:50:45+00:00 2026-05-25T02:50:45+00:00

i have a ini file where i read my data Ini File myString=xxx;xxxxx;Alpha|Gamma In

  • 0

i have a ini file where i read my data

Ini File

myString=xxx;xxxxx;Alpha|Gamma

In my code i have a Select Case
In this case i want to put myString i do that

Dim _sString As String = myIniFile.myString.Data

In Data i have

Alpha|Gamma

i Split my sString

Dim _sWords As String() = _sString.Split(New char() {"|"c})

and i can do my Select Case

Select Case myValue
   Case _sWords(0), _sWords(1)
...

My question is how can i do if in my Ini file i have x value

myString=xxx;xxxxx;Alpha|Gamma|…….

How can i do for my Select Case consider my news values .?

  • 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-25T02:50:46+00:00Added an answer on May 25, 2026 at 2:50 am

    Your question is a bit difficult to comprehend, but I’ll take a shot:

    Dim data As String = "xxx;xxxxx;Alpha|Gamma"
    
    For Each item As String In data.Split(";").Last.Split("|")
      Select Case item
        Case "Alpha"
          MessageBox.Show("I am Alpha")
        Case "Gamma"
          MessageBox.Show("I am Gamma")
      End Select
    Next
    

    In your post, I’m not sure where “myValue” is coming from or what it is. That might help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an INI file that I want to read the line DeviceName=PHJ01444-MC35 from
I have the following code: <?php $FILE=giant-data-barf.txt; $fp = fopen($FILE,'r'); //read everything into data
I have read this post and it didn't really help. My php.ini file (
I have a PHP program that encrypts a PDF file into .xxx file this
I have a data file in INI file like format that needs to be
I have ini file that I read in my program. The ini file need
I have a little Problem in Blitzmax. I try to read an INI-file and
I need to store some data in an ini file, and I have run
How do I read/write an ini file in ruby. I have an ini file
I have a .ini file with sensitive information in my php wab app. I

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.