Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: String slicing problem
Post: RE: String slicing problem

That solved the problem! Thank you very much, I appreciate the help!
Ollew General Coding Help 4 2,807 Sep-08-2018, 08:07 PM
    Thread: String slicing problem
Post: RE: String slicing problem

First of all, thank you Buran for your fast answer. I want to slice out 150 without using the index number like this: product = data[data.index('1'):14] product '150'
Ollew General Coding Help 4 2,807 Sep-08-2018, 07:42 PM
    Thread: String slicing problem
Post: String slicing problem

Hi, can someone please help me understand why this code doesn't work? data = 'XBOX 360 | 150 | NEW' product = data[data.index('1'):data.index('|')] product '' product = data[data.index('1'):data.ind...
Ollew General Coding Help 4 2,807 Sep-08-2018, 07:31 PM

User Panel Messages

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