Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public static bool
StartsWith(ref T
fs,
Rune rune);
Parameters
| Parameter |
Description |
| fs |
A string to search. |
| rune |
A character to search for within this string. |
Returns
bool
True if the character occurs at the beginning of this string.
Description
Returns true if a given character occurs at the beginning of this string.
Declaration
public static bool StartsWith(ref T fs,
ref U other);
Parameters
| Parameter |
Description |
| fs |
A string to search. |
| other |
A substring to search for within this string. |
Returns
bool
True if the substring occurs at the beginning of this string.
Description
Returns true if a given substring occurs at the beginning of this string.