Bond 0.9
Bond Standard Library API Documentation
Loading...
Searching...
No Matches
string.bond

A collection of functions for manipulating strings of characters. More...

Functions

uint Bond::Strlen (const char *str)
 Returns the length of a string.
int Bond::Strcmp (const char *str1, const char *str2)
bool Bond::TryParseInt (const char *str, int *result)
bool Bond::TryParseLong (const char *str, long *result)
bool Bond::TryParseFloat (const char *str, int *result)
bool Bond::TryParseDouble (const char *str, int *result)

Detailed Description

A collection of functions for manipulating strings of characters.

include "string.bond";

Function Documentation

◆ Strcmp()

int Bond::Strcmp ( const char * str1,
const char * str2 )

◆ Strlen()

uint Bond::Strlen ( const char * str)

Returns the length of a string.

Parameters
strThe string whose length is returned.

◆ TryParseDouble()

bool Bond::TryParseDouble ( const char * str,
int * result )

◆ TryParseFloat()

bool Bond::TryParseFloat ( const char * str,
int * result )

◆ TryParseInt()

bool Bond::TryParseInt ( const char * str,
int * result )

◆ TryParseLong()

bool Bond::TryParseLong ( const char * str,
long * result )