Closed Bug 267081 Opened 20 years ago Closed 15 years ago

Add StringBeginsWith/StringEndsWith that take const char* as second arg

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: Biesinger, Unassigned)

Details

To be able to easily use literals with StringBeginsWith/StringEndsWith, it would be nice if there was a variant that took const char* as second argument. this should probably not be done for the AString variants, to avoid charset issues (when people pass something that is not a literal).
Assignee: string → nobody
QA Contact: string
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.