/* $DOC$ $AUTHOR$ Copyright 2000 Luiz Rafael Culik $TEMPLATE$ Function $NAME$ StrTran() $CATEGORY$ API $SUBCATEGORY$ Strings $ONELINER$ Translate substring value with a main string $SYNTAX$ StrTran( , , [], [], [] ) --> cReturn $ARGUMENTS$ The main string to search The string to locate in the main string The string to replace the The first occurrence to be replaced Number of occurrence to replace $RETURNS$ Formatted string $DESCRIPTION$ This function searches for any occurrence of in and replaces it with . If is not specified, a NULL byte will replace . If is used, its value defines the first occurrence to be replaced. The default value is 1. Additionally, if used, the value of tell the function how many occurrences of in are to the replaced. The default of is all occurrences. $EXAMPLES$ ? StrTran( "Harbour Power", " ", " " ) // --> "Harbour Power" ? StrTran( "Harbour Power The Future of xBase", " ", " " , , 2 ) // --> "Harbour Power The future of xBase" $STATUS$ R $COMPLIANCE$ C $PLATFORMS$ All $FILES$ Libraty is rtl $SEEALSO$ SubStr(), At() $END$ */