====//==== use str.indexOf to detect the position of "and", using this info you can use substring() ====//==== <><><><><><><><><><><><><><><> Hi, Am soo sorry. This was an XSLT related question. Again, sorry. <><><><><><><><><><><><><><><>