Status

()

Core
String
--
enhancement
RESOLVED INCOMPLETE
12 years ago
5 years ago

People

(Reporter: Darin Fisher, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
Provide Find methods

All of these variants would be nice:
{LowerCase}{R}Find{Char,ASCII,Literal}

The idea is to create variants on Find that resemble those that exist for Equals.  These methods should exist on nsTAString and nsTSubstring.
maybe they should be global template functions, like:

template<class T>
index_type FindCharInString(T str, T::char_type c);

or something

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.