Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Substring Calculator

Substring

Function: substring (<string>, <start>)

substring("substring",4);
 substring(%,4,6);

Function: substring (<string>, <start>, <end>) Returns the substring of <string> beginning at position <start> and ending at position <end>. The character at position <end> is not included. If <end> is not given, the substring contains the rest of the string. Note that the first character in <string> is in position 1.

          (%i1) substring("substring",4);
          (%o1)                        string
          (%i2) substring(%,4,6);
          (%o2)                          in

(%o1)                                true
(%i2) 

Substring Example

Related Examples

substring

substring("substring"...

substring(%,4,6);

Calculate

substring

substring("abbab",1);

substring(%,4,6);

Calculate

substring

substring("28/09/1995...

substring(%,4,6);

Calculate

substring

substring("12/19/2016...

Calculate

substring

substring("0100000000...

Calculate

substring

substring("5021078662...

substring(%,4,6);

Calculate

substring

substring("Play Sam",4);

substring(%,4,6);

Calculate

substring

substring("http://dat...

Calculate

substring

substring("0100000000...

Calculate

substring

substring("BABC",1);

substring(%,4,6);

Calculate