About 51 results
Open links in new tab
  1. What is the difference between substr and substring?

    Sep 19, 2010 · substring() allows you to specify the indices and the second argument is NOT inclusive There are some additional subtleties between substr() and substring() such as the handling of equal …

  2. string - javascript substring - Stack Overflow

    You're confusing substring() and substr(): substring() expects two indices and not offset and length. In your case, the indices are 5 and 2, ie characters 2..4 will be returned as the higher index is excluded.

  3. How to use substring function in c? - Stack Overflow

    May 10, 2012 · 2 If you know the character also in the string from where you want to get the substring then you can use strstr function. It locates the substring. But if u do not know the character from …

  4. kql - how can I substring a text - Stack Overflow

    Dec 17, 2024 · 2 I have a column that have rows with the following pattern: "https://abc.westeurope.kusto.windows.net" How can I substring the cluster name which is in above …

  5. Qual é a diferença entre substr () e substring ()?

    O segundo parâmetro de substring() é para encerrar a string e não incluir no caso o caracter da posição especificada. O segundo parâmetro de substr() especifica o tamanho máximo a ser retornado.

  6. android - Extract substring from a string - Stack Overflow

    Mar 24, 2011 · The Android documentation is a better source: String substring (int beginIndex, int endIndex) Returns a string that is a substring of this string. The substring begins at the specified …

  7. What does String.substring exactly do in Java? - Stack Overflow

    May 31, 2012 · I always thought if I do String s = "Hello World".substring(0, 5), then I just get a new string s = "Hello". This is also documented in the Java API doc: "Returns a new string that is a …

  8. How do I extract a substring from a string until the second space is ...

    Jan 11, 2015 · How do I extract a substring from a string until the second space is encountered? Asked 15 years, 8 months ago Modified 3 years, 9 months ago Viewed 173k times

  9. sql - Substring, Charindex - Stack Overflow

    May 18, 2017 · I'm trying to extract a code that varies in length that exists after the first two underscores and before the third underscore in a field in a table. The table looks something like this. There are

  10. Check whether a cell contains a substring - Stack Overflow

    Sep 4, 2013 · Is there an in-built function to check if a cell contains a given character/substring? It would mean you can apply textual functions like Left/Right/Mid on a conditional basis without throwing e...