LCC  1. 0. 0.
Crystal cutting code
Functions/Subroutines
lcc_string_mod Module Reference

Module for manipulating strings. More...

Functions/Subroutines

subroutine, public lcc_get_word (string, posh, post, word)
 Cut a word from string. More...
 
subroutine, public lcc_split_string (string, delimit, head, tail)
 Split a string in two words uning a delimiter. More...
 

Detailed Description

Module for manipulating strings.

Function/Subroutine Documentation

◆ lcc_get_word()

subroutine, public lcc_string_mod::lcc_get_word ( character(len=*), intent(in)  string,
integer, intent(in)  posh,
integer, intent(in)  post,
character(20), intent(inout)  word 
)

Cut a word from string.

Parameters
stringFull string.
poshCut from position.
postCut to position.
wordExtracted word.

◆ lcc_split_string()

subroutine, public lcc_string_mod::lcc_split_string ( character(len=*), intent(in)  string,
character(1), intent(in)  delimit,
character(20), intent(inout)  head,
character(20), intent(inout)  tail 
)

Split a string in two words uning a delimiter.

Parameters
stringFull string.
delimitDelimiter.
headFirst word.
tailLast word.