About 50 results
Open links in new tab
  1. What's the difference between str.isdigit (), isnumeric () and ...

    s.isdigit() s.isnumeric() s.isdecimal() I always get as output either all True or all False for each value of s (which is a string). What's the difference between the three? Can you provide an example that gives …

  2. How to Display The last 4 digit of numbers and replace the rest of the ...

    Nov 25, 2018 · How to displays the last four digits of the Numbers in this format: XXXX-XXXX-XXXX-1234. In other words, use Xs for the first 12 digits of the card number and actual numbers for the last …

  3. regex in SQL to detect one or more digit - Stack Overflow

    Dec 27, 2013 · regex in SQL to detect one or more digit Asked 12 years, 1 month ago Modified 4 years ago Viewed 43k times

  4. Sorting 1 million 8-decimal-digit numbers with 1 MB of RAM

    Oct 21, 2012 · 1M of RAM means 2^20 bytes? And how many bits are in a byte on this architecture? And is the "million" in "1 million 8 digit decimal numbers" a SI million (10^6)? What is a 8 digit …

  5. Regular expression to match standard 10 digit phone number

    Regular expression to match standard 10 digit phone number Asked 12 years, 8 months ago Modified 1 year, 10 months ago Viewed 1.0m times

  6. How to split an integer into a list of digits? - Stack Overflow

    Dec 15, 2009 · Convert the number to a string so you can iterate over it, then convert each digit (character) back to an int inside a list-comprehension:

  7. Difference between Char.IsDigit() and Char.IsNumber() in C#

    Oct 23, 2008 · This contrasts with IsDigit, which determines if a Char is a radix-10 digit. Valid numbers are members of the following categories in UnicodeCategory: DecimalDigitNumber Decimal digit …

  8. Convert char to int in C and C++ - Stack Overflow

    Feb 17, 2011 · From my extensive experience on other technical forums, my intuition is that the OP really means "how do I take the textual representation of a number (in base 10) and convert it to the …

  9. Check if string contains at least one digit - Stack Overflow

    Apr 4, 2023 · I have got a text string like this: test1test I want to check if it contains at least one digit using a regex. What would this regex look like?

  10. How can I generate a 6 digit unique number? - Stack Overflow

    Mar 28, 2011 · How can I generate a 6 digit unique number? I have verification mechanisms in place to check for duplicate entries.