Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parse String
#1
I have a string as such:

<Role name: Data Editor_VDT, description: This type of account is meant for data editors, including mobile/field data collectors. This account cannot create content or groups, but can participate in groups, view VDOT content, and edit data shared with them.>

I want this out of it "Data Editor_VDT" ... Knowing that its will alway follow this format ... although the text after the 2nd Space and before the First Comma may change, and this is ok... as long as I capture it....

So that would be Starting after the Second Space and Ending at the First Comma.

Any thoughts?
Reply


Messages In This Thread
parse String - by jaykappy - Dec-22-2022, 02:08 PM
RE: parse String - by Larz60+ - Dec-22-2022, 03:08 PM
RE: parse String - by praveencqr - Dec-23-2022, 07:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I parse the string? anna17 4 385 Apr-10-2024, 10:26 AM
Last Post: DeaD_EyE
  How to parse and group hierarchical list items from an unindented string in Python? ann23fr 0 232 Mar-27-2024, 01:16 PM
Last Post: ann23fr
  [split] Parse Nested JSON String in Python mmm07 4 1,604 Mar-28-2023, 06:07 PM
Last Post: snippsat
  Parse String between 2 Delimiters and add as single list items lastyle 5 3,444 Apr-11-2021, 11:03 PM
Last Post: lastyle

Forum Jump:

User Panel Messages

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