Copyright (1997-2013) EDMGROUP Pty Ltd - EZY Prolog Reference

main page

 String Operations

 

The following set of predicates provides complete functionality for string processing, such as searching inside a strings and extraction of the string parts.

 

EZY Prolog has also built-in regular expressions functional calls which can be used for pattern-matching inside text strings.

 

For more complex text searching and replacing please see EZY Prolog String Replacement subsystem

 

concat

Concatenate two strings

format

Format several arguments into a string

frontchar

Gets the first char of the string

frontstr

The frontstr splits Inpstring into two parts.

fronttoken

Breaks the string into tokens

searchstring

Returns the start position of the SerchStr in String.

searchstring

Search the substring

str_len

Returns the length of the string.

str_member_of

List member check

str_toklist

Break the string into tokens

string_replace

Replaces the string inside the string

string_to_slist

Breaks list to stringlist by separator. (see example)

substring

Returns part of string

upper_lower

Convert between upper and lower case characters.

Copyright 1997-2013 EDMGROUP (Australia)