Content-Length: 235285 | pFad | http://github.com/imsanjoykb/Python-Programming-Problem-Solving/issues/7

A1 The search() Function · Issue #7 · imsanjoykb/Python-Programming-Problem-Solving · GitHub
Skip to content

The search() Function #7

@imsanjoykb

Description

@imsanjoykb

import re

txt = "The rain in Spain"
x = re.search("\s", txt)

print("The first white-space character is located in position:", x.start())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/imsanjoykb/Python-Programming-Problem-Solving/issues/7

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy