About 249,000 results
Open links in new tab
  1. string - Arduino Docs

    Nov 20, 2024 · Text strings can be represented in two ways. you can use the String data type, or you can make a string out of an array of type char and null-terminate it. This page described …

  2. How to pass an String array as parameter to a function?

    Jan 15, 2015 · The code below uses char arrays instead of the String class, works, and uses only 1954 bytes: char *someItems[]={"Item1","Item2","Item3", '\0'}; // Make sure a null string exists …

  3. Arduino String | String Array, Concatenation, Manipulation

    Feb 22, 2020 · Arduino has an added capability for using an array of characters known as String that can store and manipulate text strings. The String is an array of char variables. The char is …

  4. Arduino - What's the right way to store an array of String?

    Nov 22, 2017 · Summarizing results of own investigations and other's remarks - malloc()/realloc() should be avoided in Arduino programs (at least - ones built in Arduino IDE), always use new …

  5. Arduino Strings - Online Tutorials Library

    There are two types of strings in Arduino programming −. Arrays of characters, which are the same as the strings used in C programming. The Arduino String, which lets us use a string …

  6. function returning String-Array - Arduino Stack Exchange

    Use char * and slice the string in-place. Pass a pointer to an array of pointers and fill that with pointers to the portions of the string you have sliced. Return the number of entries in the array …

  7. Arduino Strings with Examples - Programming Digest

    Apr 16, 2024 · Manipulating character arrays involves various string handling functions available in the C/C++ standard library, such as strlen(), strcpy(), strcat(), etc. These functions enable …

  8. String in Arduino: Everything You Should Know

    Dec 22, 2023 · By using the above functions, you can easily manipulate and manage string arrays in Arduino. With them, you can find, replace, concatenate, remove characters from a string …

  9. How to Append to Array of Strings in Arduino?

    To pass an array of strings to a function in Arduino, you can follow these steps: Declare the function with the parameter being a pointer to an array of strings. For example: `void …

  10. How to pass string to function in Arduino | Arduino FAQs

    How to pass a string to a function in Arduino? There are two types of string: String () object and char array. You just need to pass String type. For example: The output on Serial Monitor: …

Refresh