Apparently not satisfied with relying on Oracle's built in SUBSTR function, Connor's predecessor decided to write his own. Well, sort of...

Function SUBString(inputStr IN VARCHAR2,
                   startPos IN NUMBER,
                   endPos   IN NUMBER
                  ) RETURN VARCHAR2  IS
        result  VARCHAR2(100);
     result := null;
     SELECT SUBSTR(inputStr,startPos,endPos) INTO result FROM dual;
     RETURN result;


Also apparently not satisfied with the "!" operator, the developer behind the code that Wasiliy found wrote his own, too...

PRIVATE void vToggleOnOff(bool_t *pbItem)
    if (*pbItem == TRUE)
        *pbItem = FALSE;
        *pbItem = TRUE;
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!