From the course: Learning ArcGIS Python Scripting (2018)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Help for string functions

Help for string functions - ArcGIS Tutorial

From the course: Learning ArcGIS Python Scripting (2018)

Start my 1-month free trial

Help for string functions

- [Instructor] There are lots of functions for working with strings that can be used through ArcMap's field calculator or label expressions. You can see them all listed here. There's string functions, there are also date functions and numeric functions. You can see examples of the usage of some of these functions by using this about calculating fields link right here in the field calculator. For example, if I need help on using the max function, I can scroll down in the help and I'll see an example of how that function is used. That's the first line of defense, sort of, for getting help on your functions. You can also get help in ArcGIS Desktop by searching for Python functions. But there's some help available in IDLE. Some string functions are available in basic Python and many others are in the string module. So you may find it useful to import string to get access to all of those functions. Here's an example of the index function, which returns a position of a character in a…

Contents