About 406,000 results
Open links in new tab
  1. How to get the size (length) of a string in Python

    1 Do you want to find the length of the string in the Python language? If you want to find the length of the word, you can use the len function.

  2. Find the size of a string pointed by a pointer - Stack Overflow

    Nov 25, 2012 · The strlen() function provided by string.h gives you how many "real characters" the string pointed by the argument contains. However, this length does not include the terminating null …

  3. How do you get the length of a string using jQuery?

    Jun 25, 2009 · In some cases String.length might return a value which is different from the actual number of characters visible on the screen (e.g. some emojis are encoded by 2 UTF-16 units): MDN …

  4. How to find the length of a string in R - Stack Overflow

    Jun 21, 2012 · How to find the length of a string (i.e., number of characters in a string) without splitting it in R? I know how to find the length of a list but not of a string. And what about Unicode strings? H...

  5. How to calculate the length of a string in C efficiently?

    The standard C library uses it The compiler uses it for literal string constants The first of these is academic in this instance since you are not using the standard library, the second is easily overcome …

  6. variables - Length of string in bash - Stack Overflow

    Jun 28, 2013 · How do you get the length of a string stored in a variable and assign that to another variable? myvar="some string" echo ${#myvar} # 11 How do you set another variable to the output 11?

  7. compute length string of variable with cobol - Stack Overflow

    Jul 16, 2014 · I have a NOTE in database table How can i calculate the length of that string? I have a variable defined like 10 NOTE. 49 NOTE-LEN PIC S9(4) USAGE COMP. 49 NOTE-TEXT PIC ...

  8. How do you get the string length in a batch file? - Stack Overflow

    Apr 30, 2011 · How would I find the string length of MY_STRING? Bonus points if the string length function handles all possible characters in strings including escape characters, like this: !%^^()^!.

  9. querying WHERE condition to character length? - Stack Overflow

    The LENGTH () (MySQL) or LEN () (MSSQL) function will return the length of a string in a column that you can use as a condition in your WHERE clause. Edit I know this is really old but thought I'd …

  10. Length of the String without using length () method [closed]

    May 26, 2010 · If no string matches, generate all possible strings of length 2, compare them, for string length 2. Etc. Continue until you find the string length or the universe ends, whatever happens first.