Python Forum
How can i limit length string?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can i limit length string?
#4
Just replace queue['name'] everywhere with queue['name'][:128] and probably you will be fine.
Or even better: try to learn some Python, it is not that difficult Smile
Reply


Messages In This Thread
How can i limit length string? - by perrfect - Feb-10-2020, 12:05 PM
RE: How can i limit length string? - by Jendker - Feb-10-2020, 12:11 PM
RE: How can i limit length string? - by perrfect - Feb-10-2020, 02:34 PM
RE: How can i limit length string? - by Jendker - Feb-10-2020, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python gives wrong string length and wrong character thienson30 2 2,982 Oct-15-2019, 08:54 PM
Last Post: Gribouillis
  Highlight/Underline a string | ValueError: zero length field name in format searching1 1 3,014 Jul-01-2019, 03:06 AM
Last Post: metulburr
  calculating length of string desul 12 8,645 May-22-2019, 10:50 AM
Last Post: ankit
  Python - Limit Sentence Length to 10 Words - Text file dj99 2 5,165 Jul-21-2018, 02:24 PM
Last Post: dj99
  Python find the minimum length of string to differentiate dictionary items zydjohn 3 3,603 Mar-03-2018, 05:23 PM
Last Post: Gribouillis
  Get string length RedSkeleton007 3 4,582 Dec-04-2017, 03:19 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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