startsWithUpperCase

boolean sutil.startsWithUpperCase ( String start, String string )

Description

Determine if one string is the start of another, without regards for case.

Parameters

  • start Value to be checked as the start, as a string.
  • string Value to be searched in, as a string.

Return Values

Returns true if string starts with start when case is not considered; otherwise, it returns false.

Change Log

Version Description
5.0 Added for all editions.

Examples

Does String Start With Another String (Case Insensitive)

 // Check for RTMP URLs
 sutil.startsWithUpperCase( "rtmp", session.getv( "URL" ) );