Top "String-length" questions

String length most commonly refers to the number of characters contained within a string.

How do you get the length of a string?

How do you get the length of a string in jQuery?

javascript jquery string-length
Length of string in bash

How do you get the length of a string stored in a variable and assign that to another variable? myvar="…

bash variables string-length
How to get the number of characters in a std::string?

How should I get the number of characters in a string in C++?

c++ string stdstring string-length
How to get the size of a string in Python?

For example, I get a string: str = "please answer my question" I want to write it to a file. But …

python string string-length
How to find the length of a string in R

How to find the length of a string (number of characters in a string) without splitting it in R? I …

r string unicode string-length
What is the string length of a GUID?

I want to create a varchar column in SQL that should contain N'guid' while guid is a generated GUID by .…

.net guid varchar sql-types string-length
MySQL - How to select data by string length

SELECT * FROM table ORDER BY string_length(column); Is there a MySQL function to do this (of course instead of …

mysql select string-length
Retrieve the maximum length of a VARCHAR column in SQL Server

I want to find the longest VARCHAR in a specific column of a SQL Server table. Here's an example: ID = …

sql sql-server string-length maxlength
Display only 10 characters of a long string?

How do I get a long text string (like a querystring) to display a maximum of 10 characters, using JQuery? Sorry …

javascript jquery substring string-length
Why does Python code use len() function instead of a length method?

I know that python has a len() function that is used to determine the size of a string, but I …

python function oop methods string-length