About 43,900 results
Open links in new tab
  1. Python Substring

    Dec 1, 2020 · Greetings, I am new to the Python language; however, I have experience in other OOP languages. I have a question based on Python substring syntax. The following code …

  2. ValueError: substring not found - Python Forum

    Aug 8, 2022 · Let me first start this off by stating that I am a complete beginner to coding and my attempts to fix this have been limited. I am trying to follow this Arduino controlled piano robot. …

  3. Python: Returning the most frequently occurring substring in a …

    Feb 9, 2018 · How can I find the most frequently occurring sub-string in a larger string? For example if the string 'gactctcagc' is provided, the program will return 'ctc' as it occurs twice in …

  4. Python implementation of Longest Common Substring problem

    Nov 8, 2023 · What is the longest common substring (LCS) of two strings? The LCS of two strings is the longest sequence of characters that appears in both strings. For example, the ...

  5. arcpy - Python method for finding a substring within a string ...

    The reason why you're getting 'Global IBA' for every row is that Python's string.find () method returns an integer representing the substring's position within the string, not a boolean. When …

  6. extract substring from a string before a word - Python Forum

    Nov 8, 2023 · extract substring from a string before a word !! Python Forum Python Coding General Coding Help

  7. How to calculate field as a substring of another?

    Jul 2, 2015 · arcpy.CalculateField_management(myFeatureLayer, field2, "!field1![0:4]", "PYTHON") suppose I should add that one can apply any standard Python string functions to …

  8. arcgis desktop - Extracting substring from field in ArcMap using …

    Jan 31, 2019 · Extracting substring from field in ArcMap using Python Parser of Field Calculator?

  9. Reclassifying field using Python wildcard string search?

    Mar 21, 2019 · However, in Python, you do not need to do so. When testing for a string in another string in python, it tests for the presence of the provided string, exactly as provided, anywhere …

  10. How to substring a number out of a string field using Python field ...

    Nov 10, 2020 · Using ArcGIS Desktop 10.7 I want to substring numbers as text out of a string field into a new string field with field calculator so that I can use them for layer symbology. The field …

Refresh