SC_String_Equals()

Compares two strings (case sensitive).

Synopsis:

#include <scoreloop/sc_string.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Bool_t SC_String_Equals(SC_String_h self, SC_String_h other)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current string instance.

other

The handle for the other string instance.

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

Description:

This method performs a byte wise comparison of the UTF-8 data of the two strings. Note that strings on the Scoreloop servers might be normalized and change the byte sequence. For a string comparison of composed Unicode vs. decomposed Unicode, please resort to a higher-level library like ICU or Qt.

Returns:

SC_Bool_t returns SC_TRUE if they are equal and SC_FALSE if not equal.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus