Top "String-length" questions

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

Select rows from database by strlen

Is there a way to select database table rows where a given value is a certain length, for example, less …

mysql string string-length
Best way to get length of const char * in c++

i know two way's to get length of const char * const char * str = "Hello World !"; int Size = 0; while (str[Size] != …

c++ string-length strlen
use length function in substring in spark

I am trying to use the length function inside a substring function in a DataFrame but it gives error val …

scala apache-spark dataframe substring string-length
SQL Server 2008 Empty String vs. Space

I ran into something a little odd this morning and thought I'd submit it for commentary. Can someone explain why …

sql-server sql-server-2008 tsql string-length datalength
Get string length in pixels using JavaScript

I want to know exact length in pixels of String i.e. "Hello World". It should not be length of …

javascript string pixels string-length
How to force Ruby string to n characters

How to force Ruby string variable output using puts to n characters so that if the variable is longer, it …

ruby string variables string-length
Finding the length of each string within a column of a data-frame in R

I wish to calculate the number of characters of every string of the name column. My dataframe sample is as …

r dataframe string-length
Timestamp string length

If I did this // Default implementation of UNIX time of the current UTC time TimeSpan ts = DateTime.UtcNow - new …

c# string timestamp utc string-length
How do I define Sequelize.STRING length?

I want to define a length of a datatype in sequelize. There is my source code : var Profile = sequelize.define(…

node.js postgresql string-length sequelize.js
PHP shortest/longest string length in array

I have an array like this $data = array( "163", "630", "43", "924", "4", "54" ); How can I select the smallest and largest values from it according …

php arrays string string-length