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:

Ssearch Calculator

Ssearch

Function: ssearch (<seq>, <string>)

ssearch("~s","~{~S ~}~%",

Function: ssearch (<seq>, <string>, <test>)

Function: ssearch (<seq>, <string>, <test>, <start>)

Function: ssearch (<seq>, <string>, <test>, <start>, <end>) Returns the position of the first substring of <string> that matches the string <seq>. Default test function for matching is sequal. If ssearch should ignore case, use sequalignore as test. Use <start> and <end> to limit searching. Note that the first character in <string> is in position 1.

          (%i1) ssearch("~s","~{~S ~}~%",sequalignore);
          (%o1)                                  4

(%o1)                                true
(%i2) 

Ssearch Example

Related Examples