Python Forum
How do I check if the first X characters of a string are numbers?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I check if the first X characters of a string are numbers?
#7
Minor point that hopefully does not apply - neither solution works for negative numbers.
Reply


Messages In This Thread
RE: How do I check if the first X characters of a string are numbers? - by jefsummers - Apr-12-2023, 10:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  doing string split with 2 or more split characters Skaperen 22 2,608 Aug-13-2023, 01:57 AM
Last Post: Skaperen
  Pulling Specifics Words/Numbers from String bigpapa 2 792 May-01-2023, 07:22 PM
Last Post: bigpapa
  Find and Replace numbers in String giddyhead 2 1,265 Jul-17-2022, 06:22 PM
Last Post: giddyhead
Question [SOLVED] Delete specific characters from string lines EnfantNicolas 4 2,268 Oct-21-2021, 11:28 AM
Last Post: EnfantNicolas
  Extract continuous numeric characters from a string in Python Robotguy 2 2,673 Jan-16-2021, 12:44 AM
Last Post: snippsat
  Python win32api keybd_event: How do I input a string of characters? JaneTan 3 3,869 Oct-19-2020, 04:16 AM
Last Post: deanhystad
  how to check if string contains ALL words from the list? zarize 6 7,304 Jul-22-2020, 07:04 PM
Last Post: zarize
  Finding line numbers starting with certain string Sutsro 3 2,579 Jun-27-2020, 12:36 PM
Last Post: Yoriz
  How to get first two characters in a string scratchmyhead 2 2,118 May-19-2020, 11:00 AM
Last Post: scratchmyhead
  Remove escape characters / Unicode characters from string DreamingInsanity 5 13,853 May-15-2020, 01:37 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020