Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre libcfg+/src/platon/str/strplus.h medzi verziami 1.8 a 1.9

verzia 1.8, 2001/12/16 20:44:37 verzia 1.9, 2001/12/20 00:29:26
Riadok 2 
Riadok 2 
  *                                                                        *   *                                                                        *
  *  Special string functions and macros header file                       *   *  Special string functions and macros header file                       *
  *                                                                        *   *                                                                        *
  *  Programmed by Ondrej Jombik                                           *   *  Programmed by Ondrej Jombik <nepto@pobox.sk>                          *
  *  (c) Copyright 1997-1999 Alfa & Omega software Limited and StrangeARTS *   *  (c) Copyright 1997-1999 Alfa & Omega software Limited and StrangeARTS *
  *  (c) Copyright 2000 Condy software inc.                                *   *  (c) Copyright 2000 Condy software inc.                                *
  *  (c) Copyright 2001 Platon software development group                  *   *  (c) Copyright 2001 Platon software development group                  *
  *  All rights reserved.                                                  *   *  All rights reserved.                                                  *
  *                                                                        *   *                                                                        *
  *  Updates: 16.4.2000, 8.11.2000, 5.10.2001, 21.10.2001, 5.12.2001       *   *  Updates: 16.4.2000, 8.11.2000, 5.10.2001, 21.10.2001, 5.12.2001       *
    *  20.12.2001 - str_white_str() added (thanks to <rbarlik@yahoo.com>)    *
  *                                                                        *   *                                                                        *
  **************************************************************************/   **************************************************************************/
   
Riadok 22 
Riadok 23 
  *               that substring is located in string)   *               that substring is located in string)
  * strestr() - locate a end of substring   * strestr() - locate a end of substring
  * strcasestr(), stristr() - locate a substring ignoring case   * strcasestr(), stristr() - locate a substring ignoring case
    * str_white_str() - search substr in str; every white char in substr can be
    *                   substitued with one or more white chars in str; in size,
    *                   if not NULL, will be the length of matched patern
    * strwstr() - the same as function above but without size parameter
  */   */
   
 #define strendstr(__s1,__s2) (strstr(__s1,__s2) + strlen(__s2))  #define strendstr(__s1,__s2) (strstr(__s1,__s2) + strlen(__s2))
Riadok 31  char *stristr(const char *s1, const char
Riadok 36  char *stristr(const char *s1, const char
   
 #define strcasestr(__s1, __s2) stristr(__s1, __s2)  #define strcasestr(__s1, __s2) stristr(__s1, __s2)
   
 char *str_white_str(char *s, int *size);  char *str_white_str(char *str, char *substr, int *size);
   
 #define strwhitestr(s, size) str_white_str(s, size)  #define strwhitestr(str, substr, size) str_white_str(str, substr, size)
 #define strwstr(s) str_white_str(s, NULL)  #define strwstr(str, substr) str_white_str(str, substr, NULL)
   
 /*  /*
  * Counting functions.   * Counting functions.

Legend:
Odstranené z verzie1.8  
zmenené riadky
  Pridané vo verzii1.9

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok