Arduino/CheatSheet: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== Char Array Strings == * strchr() - locate char * strstr() - locate substring * strtok() - split string into substrings, based on a separator character *…“)
 
No edit summary
Line 1: Line 1:
= Chars and Strings=
== Variable
== Char Array Strings ==
== Char Array Strings ==
* strchr() - locate char
* strchr() - locate char

Revision as of 16:35, 8 May 2019

Chars and Strings

== Variable


Char Array Strings

  • strchr() - locate char
  • strstr() - locate substring
  • strtok() - split string into substrings, based on a separator character
  • strlen() - length of a string
  • strcmp() - compare two strings
  • strcpy() - copy string
  • strcar() - concatenate strings
  • atoi() - convert string to an int

http://www.nongnu.org/avr-libc/user-manual/group__avr__string.html#ga6a441da9211eb85881d99c60b1003552