strspn()

new topic     » topic index » view thread      » older message » newer message

Is there a bultin Euphoria equivalent for C/C++/PHP's strspn(), such that eg strspn("129th","1234567890") yields 3 (or 4)?
Additionally, any examples of where that might actually prove useful?

I just noticed that Phix doesn't have one, while updating the docs.

Update: now that I know Python doesn't have one, I've simply removed any reference to it.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu