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("cyberdefen...

substring(%,4,5);

Calculate

substring

substring("Play Sam",4);

substring(%,4,6);

Calculate

substring

substring("sdfsdfsd",4);

substring(%,4,6);

Calculate

substring

substring("0010218719...

substring(%,4,6);

Calculate

substring

substring("07-26-2016...

substring(%,4,7);

Calculate

substring

substring("Attribute:...

substring(%,4,6);

Calculate

substring

substring("ABC.DAT",1...

Calculate

substring

substring("PLAY Sam",4);

substring(%,4,6);

Calculate

substring

substring("07-26-2016...

substring(%,4,6);

Calculate

substring

substring("substring"...

Calculate