Results 1 to 2 of 2

Thread: how to eliminate hebrew punctuation and vowel marks?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    447

    how to eliminate hebrew punctuation and vowel marks?

    I want to take out all the punctuations and vowel marks and leave the consonants, the letters. I'm not sure if these are all or if there are more. But when I use the following code for some reason they all appear in a group together when printed out.
    PHP Code:
    $strText=stripslashes(mysql_escape_string($textData[$tdid]));
    $vm=array("ְ""ּ""ֵ""ִ""ׁ""֖""ָ""ֱ""ֹ""ֵ""ַ""ׁ""ֽ""ֶ""֣""֑""֥""֥""׃""־""֗""֙""֙""֔""֔""׃""־""֗""֙""֙""֔""֔""֧""֛""֨""֤"" ׀ ""ׂ""֮""֒""ֲ""ֲ""֚""֚");
    for(
    $i=0$i<count($vm); $i++){
       echo 
    $vm[$i];
       
    $strText=str_replace($vm[$i], ""$strText);

    Compare bible texts (and other tools):
    TheWheelofGod

  2. #2
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: how to eliminate hebrew punctuation and vowel marks?

    you echo out the content of the array out?

    PHP Code:
       echo $vm[$i]; 
    if you remove that line then it wont print them out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width