File String.c

FileList > core > String.c

Go to the source code of this file

  • #include "StardewString.h"

Public Functions

Type Name
void Str_AdvanceToNextToken (char ** pNextToken)
advance a char pointer to the null terminator and then past its
int Str_Tokenize (char * string, char sep)
replaces occurences of the char "sep" in the string with null characters and returns the resulting number of strings.

Public Functions Documentation

function Str_AdvanceToNextToken

advance a char pointer to the null terminator and then past its

void Str_AdvanceToNextToken (
    char ** pNextToken
) 

Parameters:

  • pNextToken

function Str_Tokenize

replaces occurences of the char "sep" in the string with null characters and returns the resulting number of strings.

int Str_Tokenize (
    char * string,
    char sep
) 

Parameters:

  • string
  • sep separator

Returns:

number of tokens



The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/String.c