Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about string-operations

Read more about string-operations

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - string-operations

specific characters printing with Python

given a string as shown below, "[xyx],[abc].[cfd],[abc].[dgr],[abc]" how to print it like shown below ? 1.[xyz] 2.[cfd] 3.[dgr] The original string will always maintain the above-mentioned...
test-img

PSR

python

string

substring

string-operations

Votes: 0

Answers: 5

Latest Answer

I did not realize you had periods and commas... that adds a bit of trickery. You have to split on the periods too I would use something like this... list_to_parse = "[xyx],[abc].[cfd],[abc].[dgr]...
test-img

Robert Cotterman

Why is PyMySQL not vulnerable to SQL injection attacks?

I am new to PyMySQL and just tried to execute a query: c.execute('''INSERT INTO mysql_test1 ( data, duration, ...
test-img

felixjrd

python

mysql

sql-injection

pymysql

string-operations

Votes: 0

Answers: 1

Latest Answer

It's a pity that the designers of pymysql chose to use %s as the parameter placeholder. It confuses many developers because that's the same as the %s used in string-formatting functions. But it's not ...
test-img

Bill Karwin

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved