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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:52:07+00:00 2026-05-15T23:52:07+00:00

I have one string which contain number and character. I need to separate number

  • 0

I have one string which contain number and character. I need to separate number and character. I have don’t have a delimiter in between. How can I do this.

Var selectedRow = "E0";

I need to “0” in another variable.

Help me on this.

  • 1 1 Answer
  • 1 View
  • 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-15T23:52:08+00:00Added an answer on May 15, 2026 at 11:52 pm

    Depends on the format of the selected row, if it is always the format 1char1number (E0,E1….E34) then you can do:

    var row = "E0";
    var rowChar = row.substring(0, 1);
    
    // Number var is string format, use parseInt() if you need to do any maths on it
    var number = row.substring(1, row.length);  
    //var number = parseInt(row.substring(1, row.length));  
    

    If however you can have more than 1 character, for example (E0,E34,EC5,EDD123) then you can use regular expressions to match the numeric and alpha parts of the string, or loop each character in the string.

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

Sidebar

Related Questions

I have a function which parses one string into two strings. In C# I
I'm using .NET 3.5. I have two string arrays, which may share one or
I have one JSON that is coming in a string format. I need to
I have a simple web service operation like this one: [WebMethod] public string HelloWorld()
Imagine I have an function which goes through one million/billion strings and checks smth
I have two String.printable mysteries in the one question. First, in Python 2.6: >>>
I want to use a string that I have been using in one aspx.cs
I have a very simple class with only one field member (e.g. String). Is
If I have a string formatting program in C, that consists of only one
Have you encountered this exception for a stored procedure which does indeed have a

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.