Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagestring()
  » imagedestroy()
  » htmlentities()
  » imagecolorallocate()
  » fopen()
  » preg_match()
  » header()
  » getimagesize()
  » session_start()
  » ob_start()
  » preg_match_all()
  » strstr()
  » ob_flush()
  » flush()
  » htmlspecialchars()
  » str_replace()
  » strpos()
  » array2vars()
  » nl2br()
  » setcookie()
  » urlencode()
  » preg_split()
  » ereg()
  » ereg_replace()
  » var_dump()

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

PHP Functions

Function: mb_substr

(PHP 4 >= 4.0.6, PHP 5)

mb_substr -- Get part of string

Description

string mb_substr ( string str, int start [, int length [, string encoding]] )

mb_substr() returns the portion of str specified by the start and length parameters.

mb_substr() performs multi-byte safe substr() operation based on number of characters. Position is counted from the beginning of str . First character's position is 0. Second character position is 1, and so on.

If encoding is omitted, internal encoding is assumed.

encoding is character encoding. If it is omitted, internal character encoding is used.

Related Function(s)

  • substr()
  • mb_strcut()
  • mb_internal_encoding()
  • mcal_append_event()
  • mcal_close()
  • mcal_create_calendar()
  • mcal_date_compare()
  • mcal_date_valid()
  • mcal_day_of_week()
  • mcal_day_of_year()
  • mcal_days_in_month()
  • mcal_delete_calendar()
  • mcal_delete_event()
  • mcal_event_add_attribute()
  • mcal_event_init()
  • mcal_event_set_alarm()
  • mcal_event_set_category()
  • mcal_event_set_class()
  • mcal_event_set_description()
  • mcal_event_set_end()
  • mcal_event_set_recur_daily()
  • mcal_event_set_recur_monthly_mday()
  • mcal_event_set_recur_monthly_wday()
  • mcal_event_set_recur_none()
  • mcal_event_set_recur_weekly()
  • mcal_event_set_recur_yearly()
  • mcal_event_set_start()
  • mcal_event_set_title()
  • mcal_expunge()
  • mcal_fetch_current_stream_event()
  • mcal_fetch_event()
  • mcal_is_leap_year()
  • mcal_list_alarms()
  • mcal_list_events()
  • mcal_next_recurrence()
  • mcal_open()
  • mcal_popen()
  • mcal_rename_calendar()
  • mcal_reopen()
  • mcal_snooze()
  • mcal_store_event()
  • mcal_time_valid()
  • mcal_week_of_year()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m