Top "Strlen" questions

A standard C function that returns the length of a string.

How to determine array length of uint8_t?

I'm trying to determine array length of msg on the below code. I used strlen and sizeof but they don't …

c arrays strlen uint8t
strlen in assembly

I made my own implementation of strlen in assembly, but it doesn't return the correct value. It returns the string …

linux assembly x86 nasm strlen
Convert CGSize to CGFloat and use that to size a RoundRectButton

I'm trying to find the physical pixel size of a string of text. I then want to use this size …

iphone objective-c strlen string-length sizewithfont
How to create my own strcpy function?

I am trying to design a program in which I will create a 3 functions that resemble functions in the c-standard …

string cstring strcmp strlen strncpy
passing argument 1 of 'strlen' differ in signedness

I use strlen() call all over my project, until now I compiled my project without -Wall compiler option. But when …

c strlen
Is using strlen() in the loop condition slower than just checking for the null character?

I have read that use of strlen is more expensive than such testing like this: We have a string x 100 …

c strlen string-length
How to create a new char* in standard C

I have this code made for C++ (it works): char* ConcatCharToCharArray(char *Str, char Chr) { char *StrResult = new char[strlen(…

c memory malloc arrays strlen
strlen() php function giving the wrong length of unicode characters

I am trying to get the length of this unicode characters string $text = 'نام سلطان م'; $length = strlen($text); echo $length; …

php strlen
warning: incompatible implicit declaration of built-in function 'strlen' and 'strcpy'

I just finnished my hangman game and as a last step I am doing some code cleanup and optimization, but …

c warnings strcpy strlen
C strlen() implementation in one line of code

Yesterday I was at interview and was asked to implement strlen() in C without using any standard functions, all by …

c algorithm strlen