String (computer science)

Comparison of programming languages (string functions)

String functions are used in computer programming languages to manipulate a string or query information about a string (some do both). Most programming languages that have a string datatype will have some string functions although there may be other low-level ways within each language to handle strings directly. In object-oriented languages, string functions are often implemented as properties and methods of string objects. In functional and list-based languages a string is represented as a list (of character codes), therefore all list-manipulation procedures could be considered string functions. However such languages may implement a subset of explicit string-specific functions as well. For function that manipulate strings, modern object-oriented languages, like C# and Java have immutable strings and return a copy (in newly allocated dynamic memory), while others, like C manipulate the original string unless the programmer copies data to a new string. See for example below. The most basic example of a string function is the length(string) function. This function returns the length of a string literal. e.g. length("hello world") would return 11. Other languages may have string functions with similar or exactly the same syntax or parameters or outcomes. For example, in many languages the length function is usually represented as len(string). The below list of common functions aims to help limit this confusion. (Wikipedia).

Video thumbnail

Determine if a Relation is a Function

http://mathispower4u.wordpress.com/

From playlist Intro to Functions

Video thumbnail

Pre-Calculus - Vocabulary of functions

This video describes some of the vocabulary used with functions. Specifically it covers what a function is as well as the basic idea behind its domain and range. For more videos visit http://www.mysecretmathtutor.com

From playlist Pre-Calculus - Functions

Video thumbnail

Programming Languages - (part 6 of 7)

How source code becomes a running program, how languages are categorized, and a survey of important languages. Part of a larger series teaching programming. Visit http://codeschool.org

From playlist Programming Languages

Video thumbnail

A Simple Programming Language - (part 13 of 13)

An introduction to programming with a reductively simple programming language. Part of a larger series teaching programming. Visit http://codeschool.org Please link to the playlist (http://www.youtube.com/playlist?list=PL2F1485C69B311408) rather than this video as individual videos may g

From playlist A Simple Programming Language

Video thumbnail

Lesson 06_01 Strings

In this lesson I introduce you to the basic concepts of strings and characters in Julia. We will take a look at the various functions that can manipulate strings and conclude with a section on regular expressions.

From playlist The Julia Computer Language

Video thumbnail

Lesson 01_05 A more functional way of coding 1 plus 1

Download the notebook files as they are added at: http://www.juanklopper.com/computer-programming/ In this section I will show you that simple arithmetic can also be done using functions. We will have a separate lesson on functions, but this will give you a nice glimpse of what is to com

From playlist The Julia Computer Language

Video thumbnail

Function Pointers and Library Quicksort! C Tutorial 19

Comparison functions, function pointers, and using library quicksort

From playlist C Tutorial

Video thumbnail

Lesson 06_06 Converting between numbers and strings

Fortunatley we can convert a number which is saved as a string into a number and a number into a string.

From playlist The Julia Computer Language

Video thumbnail

C Programming: Cracking passwords faster by sorting and searching

In previous sessions we have increased the speed of our password cracker by pre-hashing the passwords. However, we are still doing a linear search on the array. This week we will learn how to search an array more quickly by sorting it, then using binary search.

From playlist C Programming

Video thumbnail

Clojure Data Structures Part 1 - Rich Hickey

Part 1 of an informal introductory talk/screencast covering Clojure's data structures by Rich Hickey, the author of Clojure. Covers numbers, symbols, keywords, lists, vectors and maps.

From playlist Clojure, Lisp

Video thumbnail

C++ vs Python | C++ And Python Difference | Python vs C++ Comparison | C++ And Python | Simplilearn

In this video on C++ vs Python, you will learn the basics of two popular languages. C++ and Python difference will make you understand their syntax and why they are used. Python vs C++ comparison will make you learn the top features of C++ and Python and how they differ in terms of perform

From playlist C++ Tutorial Videos

Video thumbnail

C Programming: String functions

Learn about how the string functions in the C library work. We'll write our own versions of them in order to see what goes on inside functions like strlen, index, strstr, and more.

From playlist C Programming

Video thumbnail

Working with Functions (1 of 2: Notation & Terminology)

More resources available at www.misterwootube.com

From playlist Working with Functions

Video thumbnail

C Programming: Function Pointers and qsort

In this video I will show you the basics of function pointers in C. They are useful for passing a function as a parameter into another function such as qsort.

From playlist C Programming

Video thumbnail

C Programming: Searching an array with binary search (bsearch)

In this stream we'll learn how to search an array using the built-in binary search function, bsearch. We will use it to search an array of floats, an array of strings, and an array of structs.

From playlist C Programming

Video thumbnail

C Programming: sorting an array with bubble sort and quicksort (qsort)

In this session we will learn how to sort an array using bubble sort and the built-in quicksort function qsort. We will do an array of floats, an array of strings, and an array of structs.

From playlist C Programming

Video thumbnail

[Rust Programming] Crafting Interpreters: Day 7

In this video we continue to look at the Crafting Interpreters book, and learn how to port it to Rust. Since I'm a Rust beginner, the intent is that it will help me learn the language more in-depth than before. The book: https://craftinginterpreters.com/contents.html I removed all the ni

From playlist Rust Ports

Video thumbnail

HipHop Compiler for PHP? Transforming PHP into C++

(May 5, 2010) Haiping Zhao, the Senior Server Engineer at Facebook, discusses how PHP, an easy to use programming language, can be transformed into semantically equivalent C++ to solve performance problems associated with the language and speed up PHP execution. Stanford University: http:

From playlist Engineering

Video thumbnail

the C language (part 2 of 5)

Introduction to the C programming language. Part of a larger series teaching programming. See http://codeschool.org

From playlist The C language

Video thumbnail

Python Tutorial For Beginners | Python Full Course | Python Programming Tutorial | Edureka

** Python Certification Training: https://www.edureka.co/data-science-python-certification-course ** This Edureka video on Python Tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) covers all the basic knowledge for beginners who are planning to switch over to Python Development. 01:1

From playlist Machine Learning Tutorial in Python | Edureka

Related pages

Lua (programming language) | String literal | Julia (programming language) | Eiffel (programming language) | Regular expression | Option type | Clojure | Concatenation | Wolfram Language | Erlang (programming language) | String (computer science)