Change first occurrence of character x in a string - how?

Mr Flibble flibble at i42.REMOVETHISBIT.co.uk
Sun Feb 14 17:51:27 EST 2021


On 14/02/2021 21:14, Chris Green wrote:
> What's the easiest way to change the first occurrence of a specified
> character in a string?

By using a grown up (i.e. non-toy) programming language.

/Flibble

-- 
😎


More information about the Python-list mailing list