Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
2 answers
78 views

I'm working on a very simple program that takes a user-specified number (can be an integer or a float of any length) and performs one specific multiplication operation on that number. The program then ...
0 votes
0 answers
86 views

I have the following code: declare v_output varchar2(32767); begin v_output := shell('ls -ltr /opt/ibm/'); dbms_output.put_line(v_output); end; It throws error as the output is more than 32767 and ...
2 votes
2 answers
79 views

I am trying to calculate the length of the date-time string in a cell In Microsoft Excel I am using the LEN function to calculate the length of the date time string in cell C2. The value in C2 is 2017-...
2 votes
0 answers
79 views

While writing some custom lambdas in an Excel workbook I had inconsistent results (and even Excel crashes, with a recursive lambda) depending on the length of the input text. I was able to trace down ...
-1 votes
1 answer
85 views

There is a string x = '1a\u0398\t\u03B43s' How to count its length only using code? I mean to add before the string r manually is no good (x = r'1a\u0398\t\u03B43s'). Have tried this solution, but ...
1 vote
1 answer
408 views

I build a webapp and one specific user uses a chef-emoji (https://emojipedia.org/de/koch#technical) in his username. At some point in my code I need to get the length of his username string. I noticed ...
0 votes
1 answer
893 views

I tried the obvious... [StringLength(12000)] public string Instructions { get; set; } ...(also tried MaxLength) but when I run add-migration I get empty Up() and Down() methods. The only impact of ...
2 votes
1 answer
107 views

We can apply comparable & comparator both on integers, as like below: List<Integer> intList1 = Arrays.asList(1,9,4,8,2,3,7,4,5); Optional<Integer> val1 = intList1.stream().sorted((a, b)...
0 votes
1 answer
49 views

I have a study assignment and I've been banging my head in the wall for at least a day now. I'm totally new to this and just learning the basics. This is my assignment: Use union to combine these ...
0 votes
1 answer
67 views

i want to check the length of x that includes number like (600,000) it always returns length of 5 not 6. i think R doesn't count if they more than 4 zeros like above. i want know how to count the full ...
0 votes
2 answers
313 views

In tclsh, first make an empty string: set a [] Then run the following command: string length a It returns 1. I'm expecting a return value of 0 for the length of an empty string, because it is defined ...
0 votes
2 answers
46 views

I have a property with StringLength attribute, but I can assign a string of any length to this property. I created the following test program in VB.NET 4.7 Framework: Imports System.ComponentModel....
-1 votes
1 answer
210 views

I tested this code snippet on different compilers but always got the same result, but I just can't understand why. unsigned char buffer[0x4000] = {0}; string strText((char*)buffer, 0x4000); cout <...
3 votes
1 answer
203 views

I have a program that accepts non-english characters also as an input field. Because we use strlen, it has failed to give expected length while calculating the length of the string when there is a non-...
0 votes
1 answer
48 views

As the strings in C/C++ are terminated with the null character '0円', the strings in Java are terminated with length in length. How to get this length of string without using any in-built function in ...

15 30 50 per page
1
2 3 4 5
...
71

AltStyle によって変換されたページ (->オリジナル) /